PowerState Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. PowerState
- com.
public final class PowerState
Describes the Power State of the cluster.
Constructor Summary
Constructor | Description |
---|---|
PowerState() |
Creates an instance of Power |
Method Summary
Modifier and Type | Method and Description |
---|---|
Code |
code()
Get the code property: Tells whether the cluster is Running or Stopped. |
void |
validate()
Validates the instance. |
Power |
withCode(Code code)
Set the code property: Tells whether the cluster is Running or Stopped. |
Methods inherited from java.lang.Object
Constructor Details
PowerState
public PowerState()
Creates an instance of PowerState class.
Method Details
code
public Code code()
Get the code property: Tells whether the cluster is Running or Stopped.
Returns:
validate
public void validate()
Validates the instance.
withCode
public PowerState withCode(Code code)
Set the code property: Tells whether the cluster is Running or Stopped.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for