Class ArtifactSourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.ArtifactSourceInner
public final class ArtifactSourceInner
extends com.azure.core.management.Resource
Properties of an artifact source.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.Get the branchRef property: The artifact source's branch reference.Get the createdDate property: The artifact source's creation date.Get the displayName property: The artifact source's display name.Get the folderPath property: The folder containing artifacts.Get the provisioningState property: The provisioning status of the resource.Get the securityToken property: The security token to authenticate to the artifact source.Get the sourceType property: The artifact source's type.status()
Get the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).uri()
Get the uri property: The artifact source's URI.void
validate()
Validates the instance.withArmTemplateFolderPath
(String armTemplateFolderPath) Set the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.withBranchRef
(String branchRef) Set the branchRef property: The artifact source's branch reference.withDisplayName
(String displayName) Set the displayName property: The artifact source's display name.withFolderPath
(String folderPath) Set the folderPath property: The folder containing artifacts.withLocation
(String location) withSecurityToken
(String securityToken) Set the securityToken property: The security token to authenticate to the artifact source.withSourceType
(SourceControlType sourceType) Set the sourceType property: The artifact source's type.withStatus
(EnableStatus status) Set the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).Set the uri property: The artifact source's URI.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ArtifactSourceInner
public ArtifactSourceInner()Creates an instance of ArtifactSourceInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
displayName
Get the displayName property: The artifact source's display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The artifact source's display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ArtifactSourceInner object itself.
-
uri
Get the uri property: The artifact source's URI.- Returns:
- the uri value.
-
withUri
Set the uri property: The artifact source's URI.- Parameters:
uri
- the uri value to set.- Returns:
- the ArtifactSourceInner object itself.
-
sourceType
Get the sourceType property: The artifact source's type.- Returns:
- the sourceType value.
-
withSourceType
Set the sourceType property: The artifact source's type.- Parameters:
sourceType
- the sourceType value to set.- Returns:
- the ArtifactSourceInner object itself.
-
folderPath
Get the folderPath property: The folder containing artifacts.- Returns:
- the folderPath value.
-
withFolderPath
Set the folderPath property: The folder containing artifacts.- Parameters:
folderPath
- the folderPath value to set.- Returns:
- the ArtifactSourceInner object itself.
-
armTemplateFolderPath
Get the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.- Returns:
- the armTemplateFolderPath value.
-
withArmTemplateFolderPath
Set the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.- Parameters:
armTemplateFolderPath
- the armTemplateFolderPath value to set.- Returns:
- the ArtifactSourceInner object itself.
-
branchRef
Get the branchRef property: The artifact source's branch reference.- Returns:
- the branchRef value.
-
withBranchRef
Set the branchRef property: The artifact source's branch reference.- Parameters:
branchRef
- the branchRef value to set.- Returns:
- the ArtifactSourceInner object itself.
-
securityToken
Get the securityToken property: The security token to authenticate to the artifact source.- Returns:
- the securityToken value.
-
withSecurityToken
Set the securityToken property: The security token to authenticate to the artifact source.- Parameters:
securityToken
- the securityToken value to set.- Returns:
- the ArtifactSourceInner object itself.
-
status
Get the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).- Returns:
- the status value.
-
withStatus
Set the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).- Parameters:
status
- the status value to set.- Returns:
- the ArtifactSourceInner object itself.
-
createdDate
Get the createdDate property: The artifact source's creation date.- Returns:
- the createdDate value.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-