Class ImageTemplateUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateUpdateParameters
-
public final class ImageTemplateUpdateParameters extends Object
Parameters for updating an image template.
-
-
Constructor Summary
Constructors Constructor Description ImageTemplateUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageTemplateIdentity
identity()
Get the identity property: The identity of the image template, if configured.Map<String,String>
tags()
Get the tags property: The user-specified tags associated with the image template.void
validate()
Validates the instance.ImageTemplateUpdateParameters
withIdentity(ImageTemplateIdentity identity)
Set the identity property: The identity of the image template, if configured.ImageTemplateUpdateParameters
withTags(Map<String,String> tags)
Set the tags property: The user-specified tags associated with the image template.
-
-
-
Method Detail
-
identity
public ImageTemplateIdentity identity()
Get the identity property: The identity of the image template, if configured.- Returns:
- the identity value.
-
withIdentity
public ImageTemplateUpdateParameters withIdentity(ImageTemplateIdentity identity)
Set the identity property: The identity of the image template, if configured.- Parameters:
identity
- the identity value to set.- Returns:
- the ImageTemplateUpdateParameters object itself.
-
tags
public Map<String,String> tags()
Get the tags property: The user-specified tags associated with the image template.- Returns:
- the tags value.
-
withTags
public ImageTemplateUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The user-specified tags associated with the image template.- Parameters:
tags
- the tags value to set.- Returns:
- the ImageTemplateUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-