CustomImagePropertiesCustom Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.models.CustomImagePropertiesCustom

public final class CustomImagePropertiesCustom

Properties for creating a custom image from a VHD.

Constructor Summary

Constructor Description
CustomImagePropertiesCustom()

Creates an instance of CustomImagePropertiesCustom class.

Method Summary

Modifier and Type Method and Description
String imageName()

Get the imageName property: The image name.

CustomImageOsType osType()

Get the osType property: The OS type of the custom image (i.e.

Boolean sysPrep()

Get the sysPrep property: Indicates whether sysprep has been run on the VHD.

void validate()

Validates the instance.

CustomImagePropertiesCustom withImageName(String imageName)

Set the imageName property: The image name.

CustomImagePropertiesCustom withOsType(CustomImageOsType osType)

Set the osType property: The OS type of the custom image (i.e.

CustomImagePropertiesCustom withSysPrep(Boolean sysPrep)

Set the sysPrep property: Indicates whether sysprep has been run on the VHD.

Methods inherited from java.lang.Object

Constructor Details

CustomImagePropertiesCustom

public CustomImagePropertiesCustom()

Creates an instance of CustomImagePropertiesCustom class.

Method Details

imageName

public String imageName()

Get the imageName property: The image name.

Returns:

the imageName value.

osType

public CustomImageOsType osType()

Get the osType property: The OS type of the custom image (i.e. Windows, Linux).

Returns:

the osType value.

sysPrep

public Boolean sysPrep()

Get the sysPrep property: Indicates whether sysprep has been run on the VHD.

Returns:

the sysPrep value.

validate

public void validate()

Validates the instance.

withImageName

public CustomImagePropertiesCustom withImageName(String imageName)

Set the imageName property: The image name.

Parameters:

imageName - the imageName value to set.

Returns:

the CustomImagePropertiesCustom object itself.

withOsType

public CustomImagePropertiesCustom withOsType(CustomImageOsType osType)

Set the osType property: The OS type of the custom image (i.e. Windows, Linux).

Parameters:

osType - the osType value to set.

Returns:

the CustomImagePropertiesCustom object itself.

withSysPrep

public CustomImagePropertiesCustom withSysPrep(Boolean sysPrep)

Set the sysPrep property: Indicates whether sysprep has been run on the VHD.

Parameters:

sysPrep - the sysPrep value to set.

Returns:

the CustomImagePropertiesCustom object itself.

Applies to