Class OSOptionProperty
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.OSOptionProperty
-
public final class OSOptionProperty extends Object
OS option property.
-
-
Constructor Summary
Constructors Constructor Description OSOptionProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenableFipsImage()Get the enableFipsImage property: Whether the image is FIPS-enabled.StringosType()Get the osType property: The OS type.voidvalidate()Validates the instance.OSOptionPropertywithEnableFipsImage(boolean enableFipsImage)Set the enableFipsImage property: Whether the image is FIPS-enabled.OSOptionPropertywithOsType(String osType)Set the osType property: The OS type.
-
-
-
Method Detail
-
osType
public String osType()
Get the osType property: The OS type.- Returns:
- the osType value.
-
withOsType
public OSOptionProperty withOsType(String osType)
Set the osType property: The OS type.- Parameters:
osType- the osType value to set.- Returns:
- the OSOptionProperty object itself.
-
enableFipsImage
public boolean enableFipsImage()
Get the enableFipsImage property: Whether the image is FIPS-enabled.- Returns:
- the enableFipsImage value.
-
withEnableFipsImage
public OSOptionProperty withEnableFipsImage(boolean enableFipsImage)
Set the enableFipsImage property: Whether the image is FIPS-enabled.- Parameters:
enableFipsImage- the enableFipsImage value to set.- Returns:
- the OSOptionProperty object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-