Class ImageTemplateVhdDistributor
- java.lang.Object
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateDistributor
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateVhdDistributor
-
public final class ImageTemplateVhdDistributor extends ImageTemplateDistributor
Distribute via VHD in a storage account.
-
-
Constructor Summary
Constructors Constructor Description ImageTemplateVhdDistributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.ImageTemplateVhdDistributor
withArtifactTags(Map<String,String> artifactTags)
Set the artifactTags property: Tags that will be applied to the artifact once it has been created/updated by the distributor.ImageTemplateVhdDistributor
withRunOutputName(String runOutputName)
Set the runOutputName property: The name to be used for the associated RunOutput.-
Methods inherited from class com.azure.resourcemanager.imagebuilder.models.ImageTemplateDistributor
artifactTags, runOutputName
-
-
-
-
Method Detail
-
withRunOutputName
public ImageTemplateVhdDistributor withRunOutputName(String runOutputName)
Set the runOutputName property: The name to be used for the associated RunOutput.- Overrides:
withRunOutputName
in classImageTemplateDistributor
- Parameters:
runOutputName
- the runOutputName value to set.- Returns:
- the ImageTemplateDistributor object itself.
-
withArtifactTags
public ImageTemplateVhdDistributor withArtifactTags(Map<String,String> artifactTags)
Set the artifactTags property: Tags that will be applied to the artifact once it has been created/updated by the distributor.- Overrides:
withArtifactTags
in classImageTemplateDistributor
- Parameters:
artifactTags
- the artifactTags value to set.- Returns:
- the ImageTemplateDistributor object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classImageTemplateDistributor
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-