ImageTemplateInVMValidator Class

  • java.lang.Object
    • com.azure.resourcemanager.imagebuilder.models.ImageTemplateInVMValidator

public class ImageTemplateInVMValidator

Describes a unit of in-VM validation of image.

Constructor Summary

Constructor Description
ImageTemplateInVMValidator()

Creates an instance of ImageTemplateInVMValidator class.

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.

ImageTemplateInVMValidator 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:

the name value.

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:

name - the name value to set.

Returns:

the ImageTemplateInVMValidator object itself.

Applies to