public static interface StopInstanceRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<StopInstanceRequest.Builder,StopInstanceRequest>
| Modifier and Type | Method and Description |
|---|---|
StopInstanceRequest.Builder |
force(Boolean force)
Specifies whether to force an instance to stop.
|
StopInstanceRequest.Builder |
instanceId(String instanceId)
The instance ID.
|
StopInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StopInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopInstanceRequest.Builder instanceId(String instanceId)
The instance ID.
instanceId - The instance ID.StopInstanceRequest.Builder force(Boolean force)
Specifies whether to force an instance to stop. If the instance's root device type is ebs, or
EBS-backed, adding the Force parameter to the StopInstances API call disassociates
the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance.
You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS
OpsWorks Stacks instance with a new one.
force - Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or EBS-backed, adding the Force parameter to the StopInstances API call
disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the
OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after
troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.StopInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStopInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.