public static interface StopInstanceRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<StopInstanceRequest.Builder,StopInstanceRequest>
| Modifier and Type | Method and Description |
|---|---|
StopInstanceRequest.Builder |
force(Boolean force)
When set to
True, forces a Lightsail instance that is stuck in a stopping state to
stop. |
StopInstanceRequest.Builder |
instanceName(String instanceName)
The name of the instance (a virtual private server) to stop.
|
StopInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StopInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopInstanceRequest.Builder instanceName(String instanceName)
The name of the instance (a virtual private server) to stop.
instanceName - The name of the instance (a virtual private server) to stop.StopInstanceRequest.Builder force(Boolean force)
When set to True, forces a Lightsail instance that is stuck in a stopping state to
stop.
Only use the force parameter if your instance is stuck in the stopping state. In
any other state, your instance should stop normally without adding this parameter to your API request.
force - When set to True, forces a Lightsail instance that is stuck in a stopping
state to stop.
Only use the force parameter if your instance is stuck in the stopping
state. In any other state, your instance should stop normally without adding this parameter to your
API request.
StopInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStopInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.