ArtifactSourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. fluent. models. ArtifactSourceProperties
- com.
Implements
public final class ArtifactSourceProperties
implements JsonSerializable<ArtifactSourceProperties>
Properties of an artifact source.
Constructor Summary
| Constructor | Description |
|---|---|
| ArtifactSourceProperties() |
Creates an instance of Artifact |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
armTemplateFolderPath()
Get the arm |
| String |
branchRef()
Get the branch |
|
Offset |
createdDate()
Get the created |
| String |
displayName()
Get the display |
| String |
folderPath()
Get the folder |
|
static
Artifact |
fromJson(JsonReader jsonReader)
Reads an instance of Artifact |
| String |
provisioningState()
Get the provisioning |
| String |
securityToken()
Get the security |
|
Source |
sourceType()
Get the source |
|
Enable |
status()
Get the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled). |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uniqueIdentifier()
Get the unique |
| String |
uri()
Get the uri property: The artifact source's URI. |
|
Artifact |
withArmTemplateFolderPath(String armTemplateFolderPath)
Set the arm |
|
Artifact |
withBranchRef(String branchRef)
Set the branch |
|
Artifact |
withDisplayName(String displayName)
Set the display |
|
Artifact |
withFolderPath(String folderPath)
Set the folder |
|
Artifact |
withSecurityToken(String securityToken)
Set the security |
|
Artifact |
withSourceType(SourceControlType sourceType)
Set the source |
|
Artifact |
withStatus(EnableStatus status)
Set the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled). |
|
Artifact |
withUri(String uri)
Set the uri property: The artifact source's URI. |
Methods inherited from java.lang.Object
Constructor Details
ArtifactSourceProperties
public ArtifactSourceProperties()
Creates an instance of ArtifactSourceProperties class.
Method Details
armTemplateFolderPath
public String armTemplateFolderPath()
Get the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.
Returns:
branchRef
public String branchRef()
Get the branchRef property: The artifact source's branch reference.
Returns:
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: The artifact source's creation date.
Returns:
displayName
public String displayName()
Get the displayName property: The artifact source's display name.
Returns:
folderPath
public String folderPath()
Get the folderPath property: The folder containing artifacts.
Returns:
fromJson
public static ArtifactSourceProperties fromJson(JsonReader jsonReader)
Reads an instance of ArtifactSourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
securityToken
public String securityToken()
Get the securityToken property: The security token to authenticate to the artifact source.
Returns:
sourceType
public SourceControlType sourceType()
Get the sourceType property: The artifact source's type.
Returns:
status
public EnableStatus status()
Get the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).
Returns:
toJson
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
uri
public String uri()
Get the uri property: The artifact source's URI.
Returns:
withArmTemplateFolderPath
public ArtifactSourceProperties withArmTemplateFolderPath(String armTemplateFolderPath)
Set the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.
Parameters:
Returns:
withBranchRef
public ArtifactSourceProperties withBranchRef(String branchRef)
Set the branchRef property: The artifact source's branch reference.
Parameters:
Returns:
withDisplayName
public ArtifactSourceProperties withDisplayName(String displayName)
Set the displayName property: The artifact source's display name.
Parameters:
Returns:
withFolderPath
public ArtifactSourceProperties withFolderPath(String folderPath)
Set the folderPath property: The folder containing artifacts.
Parameters:
Returns:
withSecurityToken
public ArtifactSourceProperties withSecurityToken(String securityToken)
Set the securityToken property: The security token to authenticate to the artifact source.
Parameters:
Returns:
withSourceType
public ArtifactSourceProperties withSourceType(SourceControlType sourceType)
Set the sourceType property: The artifact source's type.
Parameters:
Returns:
withStatus
public ArtifactSourceProperties withStatus(EnableStatus status)
Set the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).
Parameters:
Returns:
withUri
public ArtifactSourceProperties withUri(String uri)
Set the uri property: The artifact source's URI.
Parameters:
Returns: