Class ServiceUnitArtifacts
java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.ServiceUnitArtifacts
Defines the artifacts of a service unit.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the parametersArtifactSourceRelativePath property: The path to the ARM parameters file relative to the artifact source.Get the parametersUri property: The full URI of the ARM parameters file with the SAS token.Get the templateArtifactSourceRelativePath property: The path to the ARM template file relative to the artifact source.Get the templateUri property: The full URI of the ARM template file with the SAS token.void
validate()
Validates the instance.withParametersArtifactSourceRelativePath
(String parametersArtifactSourceRelativePath) Set the parametersArtifactSourceRelativePath property: The path to the ARM parameters file relative to the artifact source.withParametersUri
(String parametersUri) Set the parametersUri property: The full URI of the ARM parameters file with the SAS token.withTemplateArtifactSourceRelativePath
(String templateArtifactSourceRelativePath) Set the templateArtifactSourceRelativePath property: The path to the ARM template file relative to the artifact source.withTemplateUri
(String templateUri) Set the templateUri property: The full URI of the ARM template file with the SAS token.
-
Constructor Details
-
ServiceUnitArtifacts
public ServiceUnitArtifacts()Creates an instance of ServiceUnitArtifacts class.
-
-
Method Details
-
templateUri
Get the templateUri property: The full URI of the ARM template file with the SAS token.- Returns:
- the templateUri value.
-
withTemplateUri
Set the templateUri property: The full URI of the ARM template file with the SAS token.- Parameters:
templateUri
- the templateUri value to set.- Returns:
- the ServiceUnitArtifacts object itself.
-
parametersUri
Get the parametersUri property: The full URI of the ARM parameters file with the SAS token.- Returns:
- the parametersUri value.
-
withParametersUri
Set the parametersUri property: The full URI of the ARM parameters file with the SAS token.- Parameters:
parametersUri
- the parametersUri value to set.- Returns:
- the ServiceUnitArtifacts object itself.
-
templateArtifactSourceRelativePath
Get the templateArtifactSourceRelativePath property: The path to the ARM template file relative to the artifact source.- Returns:
- the templateArtifactSourceRelativePath value.
-
withTemplateArtifactSourceRelativePath
public ServiceUnitArtifacts withTemplateArtifactSourceRelativePath(String templateArtifactSourceRelativePath) Set the templateArtifactSourceRelativePath property: The path to the ARM template file relative to the artifact source.- Parameters:
templateArtifactSourceRelativePath
- the templateArtifactSourceRelativePath value to set.- Returns:
- the ServiceUnitArtifacts object itself.
-
parametersArtifactSourceRelativePath
Get the parametersArtifactSourceRelativePath property: The path to the ARM parameters file relative to the artifact source.- Returns:
- the parametersArtifactSourceRelativePath value.
-
withParametersArtifactSourceRelativePath
public ServiceUnitArtifacts withParametersArtifactSourceRelativePath(String parametersArtifactSourceRelativePath) Set the parametersArtifactSourceRelativePath property: The path to the ARM parameters file relative to the artifact source.- Parameters:
parametersArtifactSourceRelativePath
- the parametersArtifactSourceRelativePath value to set.- Returns:
- the ServiceUnitArtifacts object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-