@Stability(value=Stable) public static final class CfnInstance.StateProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.StateProperty>
CfnInstance.StateProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstance.StateProperty |
build()
Builds the configured instance.
|
CfnInstance.StateProperty.Builder |
code(Number code)
Sets the value of
CfnInstance.StateProperty.getCode() |
CfnInstance.StateProperty.Builder |
name(String name)
Sets the value of
CfnInstance.StateProperty.getName() |
@Stability(value=Stable) public CfnInstance.StateProperty.Builder code(Number code)
CfnInstance.StateProperty.getCode()code - The status code of the instance.this@Stability(value=Stable) public CfnInstance.StateProperty.Builder name(String name)
CfnInstance.StateProperty.getName()name - The state of the instance (for example, `running` or `pending` ).this@Stability(value=Stable) public CfnInstance.StateProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.StateProperty>CfnInstance.StatePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.