ImageTemplatePropertiesOptimizeVmBoot Class

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

public final class ImageTemplatePropertiesOptimizeVmBoot

Optimization is applied on the image for a faster VM boot.

Constructor Summary

Constructor Description
ImageTemplatePropertiesOptimizeVmBoot()

Creates an instance of ImageTemplatePropertiesOptimizeVmBoot class.

Method Summary

Modifier and Type Method and Description
VMBootOptimizationState state()

Get the state property: Enabling this field will improve VM boot time by optimizing the final customized image output.

void validate()

Validates the instance.

ImageTemplatePropertiesOptimizeVmBoot withState(VMBootOptimizationState state)

Set the state property: Enabling this field will improve VM boot time by optimizing the final customized image output.

Methods inherited from java.lang.Object

Constructor Details

ImageTemplatePropertiesOptimizeVmBoot

public ImageTemplatePropertiesOptimizeVmBoot()

Creates an instance of ImageTemplatePropertiesOptimizeVmBoot class.

Method Details

state

public VMBootOptimizationState state()

Get the state property: Enabling this field will improve VM boot time by optimizing the final customized image output.

Returns:

the state value.

validate

public void validate()

Validates the instance.

withState

public ImageTemplatePropertiesOptimizeVmBoot withState(VMBootOptimizationState state)

Set the state property: Enabling this field will improve VM boot time by optimizing the final customized image output.

Parameters:

state - the state value to set.

Returns:

the ImageTemplatePropertiesOptimizeVmBoot object itself.

Applies to