public static interface StopInstanceRequest.Builder extends LightsailRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
StopInstanceRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.