Class ImageTemplateCustomizer
- java.lang.Object
-
- com.azure.resourcemanager.imagebuilder.models.ImageTemplateCustomizer
-
- Direct Known Subclasses:
ImageTemplateFileCustomizer
,ImageTemplatePowerShellCustomizer
,ImageTemplateRestartCustomizer
,ImageTemplateShellCustomizer
,ImageTemplateWindowsUpdateCustomizer
public class ImageTemplateCustomizer extends Object
Describes a unit of image customization.
-
-
Constructor Summary
Constructors Constructor Description ImageTemplateCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Friendly Name to provide context on what this customization step does.void
validate()
Validates the instance.ImageTemplateCustomizer
withName(String name)
Set the name property: Friendly Name to provide context on what this customization step does.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Friendly Name to provide context on what this customization step does.- Returns:
- the name value.
-
withName
public ImageTemplateCustomizer withName(String name)
Set the name property: Friendly Name to provide context on what this customization step does.- Parameters:
name
- the name value to set.- Returns:
- the ImageTemplateCustomizer object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-