Class PowerState
java.lang.Object
com.azure.resourcemanager.containerservice.models.PowerState
Describes the Power State of the cluster.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PowerState
public PowerState()
-
-
Method Details
-
code
Get the code property: Tells whether the cluster is Running or Stopped.- Returns:
- the code value.
-
withCode
Set the code property: Tells whether the cluster is Running or Stopped.- Parameters:
code- the code value to set.- Returns:
- the PowerState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-