@Stability(value=Stable) public static final class CfnLaunch.ExecutionStatusObjectProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunch.ExecutionStatusObjectProperty>
CfnLaunch.ExecutionStatusObjectProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunch.ExecutionStatusObjectProperty |
build()
Builds the configured instance.
|
CfnLaunch.ExecutionStatusObjectProperty.Builder |
desiredState(String desiredState)
Sets the value of
CfnLaunch.ExecutionStatusObjectProperty.getDesiredState() |
CfnLaunch.ExecutionStatusObjectProperty.Builder |
reason(String reason)
Sets the value of
CfnLaunch.ExecutionStatusObjectProperty.getReason() |
CfnLaunch.ExecutionStatusObjectProperty.Builder |
status(String status)
Sets the value of
CfnLaunch.ExecutionStatusObjectProperty.getStatus() |
@Stability(value=Stable) public CfnLaunch.ExecutionStatusObjectProperty.Builder status(String status)
CfnLaunch.ExecutionStatusObjectProperty.getStatus()status - To start the launch now, specify `START` for this parameter. This parameter is required.
If this launch is currently running and you want to stop it now, specify STOP .this@Stability(value=Stable) public CfnLaunch.ExecutionStatusObjectProperty.Builder desiredState(String desiredState)
CfnLaunch.ExecutionStatusObjectProperty.getDesiredState()desiredState - If you are using AWS CloudFormation to stop this launch, specify either `COMPLETED` or `CANCELLED` here to indicate how to classify this experiment.
If you omit this parameter, the default of COMPLETED is used.this@Stability(value=Stable) public CfnLaunch.ExecutionStatusObjectProperty.Builder reason(String reason)
CfnLaunch.ExecutionStatusObjectProperty.getReason()reason - If you are using AWS CloudFormation to stop this launch, this is an optional field that you can use to record why the launch is being stopped or cancelled.this@Stability(value=Stable) public CfnLaunch.ExecutionStatusObjectProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunch.ExecutionStatusObjectProperty>CfnLaunch.ExecutionStatusObjectPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.