public final class CustomImagePropertiesCustom extends Object
Constructor and Description |
---|
CustomImagePropertiesCustom() |
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.
|
public String imageName()
public CustomImagePropertiesCustom withImageName(String imageName)
imageName
- the imageName value to set.public Boolean sysPrep()
public CustomImagePropertiesCustom withSysPrep(Boolean sysPrep)
sysPrep
- the sysPrep value to set.public CustomImageOsType osType()
public CustomImagePropertiesCustom withOsType(CustomImageOsType osType)
osType
- the osType value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.