| Modifier and Type | Field and Description |
|---|---|
static Code |
Code.RUNNING
Static value Running for Code.
|
static Code |
Code.STOPPED
Static value Stopped for Code.
|
| Modifier and Type | Method and Description |
|---|---|
Code |
PowerState.code()
Get tells whether the cluster is Running or Stopped.
|
static Code |
Code.fromString(String name)
Creates or finds a Code from its string representation.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<Code> |
Code.values() |
| Modifier and Type | Method and Description |
|---|---|
PowerState |
PowerState.withCode(Code code)
Set tells whether the cluster is Running or Stopped.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/