Class ImageTemplateDistributor
- java.lang.Object
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateDistributor
-
- Direct Known Subclasses:
ImageTemplateManagedImageDistributor
,ImageTemplateSharedImageDistributor
,ImageTemplateVhdDistributor
public class ImageTemplateDistributor extends Object
Generic distribution object.
-
-
Constructor Summary
Constructors Constructor Description ImageTemplateDistributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
artifactTags()
Get the artifactTags property: Tags that will be applied to the artifact once it has been created/updated by the distributor.String
runOutputName()
Get the runOutputName property: The name to be used for the associated RunOutput.void
validate()
Validates the instance.ImageTemplateDistributor
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.ImageTemplateDistributor
withRunOutputName(String runOutputName)
Set the runOutputName property: The name to be used for the associated RunOutput.
-
-
-
Method Detail
-
runOutputName
public String runOutputName()
Get the runOutputName property: The name to be used for the associated RunOutput.- Returns:
- the runOutputName value.
-
withRunOutputName
public ImageTemplateDistributor withRunOutputName(String runOutputName)
Set the runOutputName property: The name to be used for the associated RunOutput.- Parameters:
runOutputName
- the runOutputName value to set.- Returns:
- the ImageTemplateDistributor object itself.
-
artifactTags
public Map<String,String> artifactTags()
Get the artifactTags property: Tags that will be applied to the artifact once it has been created/updated by the distributor.- Returns:
- the artifactTags value.
-
withArtifactTags
public ImageTemplateDistributor 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.- Parameters:
artifactTags
- the artifactTags value to set.- Returns:
- the ImageTemplateDistributor object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-