ArtifactSourcePropertiesAutoGenerated Class
- java.
lang. Object - com.
azure. resourcemanager. deploymentmanager. models. ArtifactSourcePropertiesAutoGenerated
- com.
public class ArtifactSourcePropertiesAutoGenerated
The properties that define the source location where the artifacts are located.
Constructor Summary
Constructor | Description |
---|---|
ArtifactSourcePropertiesAutoGenerated() |
Creates an instance of Artifact |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
artifactRoot()
Get the artifact |
Authentication |
authentication()
Get the authentication property: The authentication method to use to access the artifact source. |
String |
sourceType()
Get the source |
void |
validate()
Validates the instance. |
Artifact |
withArtifactRoot(String artifactRoot)
Set the artifact |
Artifact |
withAuthentication(Authentication authentication)
Set the authentication property: The authentication method to use to access the artifact source. |
Artifact |
withSourceType(String sourceType)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
ArtifactSourcePropertiesAutoGenerated
public ArtifactSourcePropertiesAutoGenerated()
Creates an instance of ArtifactSourcePropertiesAutoGenerated class.
Method Details
artifactRoot
public String artifactRoot()
Get the artifactRoot property: The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.
Returns:
authentication
public Authentication authentication()
Get the authentication property: The authentication method to use to access the artifact source.
Returns:
sourceType
public String sourceType()
Get the sourceType property: The type of artifact source used.
Returns:
validate
public void validate()
Validates the instance.
withArtifactRoot
public ArtifactSourcePropertiesAutoGenerated withArtifactRoot(String artifactRoot)
Set the artifactRoot property: The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.
Parameters:
Returns:
withAuthentication
public ArtifactSourcePropertiesAutoGenerated withAuthentication(Authentication authentication)
Set the authentication property: The authentication method to use to access the artifact source.
Parameters:
Returns:
withSourceType
public ArtifactSourcePropertiesAutoGenerated withSourceType(String sourceType)
Set the sourceType property: The type of artifact source used.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for