public class PowerState extends Object
| Constructor and Description |
|---|
PowerState() |
| Modifier and Type | Method and Description |
|---|---|
Code |
code()
Get tells whether the cluster is Running or Stopped.
|
PowerState |
withCode(Code code)
Set tells whether the cluster is Running or Stopped.
|
public Code code()
public PowerState withCode(Code code)
code - the code value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/