@Stability(value=Stable)
public static interface CfnInstance.StateProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
StateProperty stateProperty = StateProperty.builder()
.code(123)
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.StateProperty.Builder
A builder for
CfnInstance.StateProperty |
static class |
CfnInstance.StateProperty.Jsii$Proxy
An implementation for
CfnInstance.StateProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.StateProperty.Builder |
builder() |
default Number |
getCode()
The status code of the instance.
|
default String |
getName()
The state of the instance (for example, `running` or `pending` ).
|
@Stability(value=Stable) @Nullable default Number getCode()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) static CfnInstance.StateProperty.Builder builder()
CfnInstance.StateProperty.Builder of CfnInstance.StatePropertyCopyright © 2022. All rights reserved.