ImageTemplateInVMValidator Class
- java.
lang. Object - com.
azure. resourcemanager. imagebuilder. models. ImageTemplateInVMValidator
- com.
public class ImageTemplateInVMValidator
Describes a unit of in-VM validation of image.
Constructor Summary
| Constructor | Description |
|---|---|
| ImageTemplateInVMValidator() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
name()
Get the name property: Friendly Name to provide context on what this validation step does. |
| void |
validate()
Validates the instance. |
|
Image |
withName(String name)
Set the name property: Friendly Name to provide context on what this validation step does. |
Methods inherited from java.lang.Object
Constructor Details
ImageTemplateInVMValidator
public ImageTemplateInVMValidator()
Creates an instance of ImageTemplateInVMValidator class.
Method Details
name
public String name()
Get the name property: Friendly Name to provide context on what this validation step does.
Returns:
validate
public void validate()
Validates the instance.
withName
public ImageTemplateInVMValidator withName(String name)
Set the name property: Friendly Name to provide context on what this validation step does.
Parameters:
Returns: