ArtifactSourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. devtestlabs. fluent. models. ArtifactSourceInner
- com.
- com.
public final class ArtifactSourceInner
extends ProxyResource
Properties of an artifact source.
Constructor Summary
| Constructor | Description |
|---|---|
| ArtifactSourceInner() |
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 |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| String |
name()
Get the name property: The name of the resource. |
| 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). |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
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 |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Artifact |
withUri(String uri)
Set the uri property: The artifact source's URI. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ArtifactSourceInner
public ArtifactSourceInner()
Creates an instance of ArtifactSourceInner 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 ArtifactSourceInner fromJson(JsonReader jsonReader)
Reads an instance of ArtifactSourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ArtifactSourceInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ArtifactSourceInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ArtifactSourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ArtifactSourceInner.type()Returns:
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 ArtifactSourceInner withArmTemplateFolderPath(String armTemplateFolderPath)
Set the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.
Parameters:
Returns:
withBranchRef
public ArtifactSourceInner withBranchRef(String branchRef)
Set the branchRef property: The artifact source's branch reference.
Parameters:
Returns:
withDisplayName
public ArtifactSourceInner withDisplayName(String displayName)
Set the displayName property: The artifact source's display name.
Parameters:
Returns:
withFolderPath
public ArtifactSourceInner withFolderPath(String folderPath)
Set the folderPath property: The folder containing artifacts.
Parameters:
Returns:
withLocation
public ArtifactSourceInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withSecurityToken
public ArtifactSourceInner withSecurityToken(String securityToken)
Set the securityToken property: The security token to authenticate to the artifact source.
Parameters:
Returns:
withSourceType
public ArtifactSourceInner withSourceType(SourceControlType sourceType)
Set the sourceType property: The artifact source's type.
Parameters:
Returns:
withStatus
public ArtifactSourceInner withStatus(EnableStatus status)
Set the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).
Parameters:
Returns:
withTags
public ArtifactSourceInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withUri
public ArtifactSourceInner withUri(String uri)
Set the uri property: The artifact source's URI.
Parameters:
Returns: