public static interface StopInstancesRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<StopInstancesRequest.Builder,StopInstancesRequest>
| Modifier and Type | Method and Description |
|---|---|
StopInstancesRequest.Builder |
force(Boolean force)
Forces the instances to stop.
|
StopInstancesRequest.Builder |
hibernate(Boolean hibernate)
Hibernates the instance if the instance was enabled for hibernation at launch.
|
StopInstancesRequest.Builder |
instanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
StopInstancesRequest.Builder |
instanceIds(String... instanceIds)
The IDs of the instances.
|
StopInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StopInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopInstancesRequest.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances.
instanceIds - The IDs of the instances.StopInstancesRequest.Builder instanceIds(String... instanceIds)
The IDs of the instances.
instanceIds - The IDs of the instances.StopInstancesRequest.Builder hibernate(Boolean hibernate)
Hibernates the instance if the instance was enabled for hibernation at launch. If the instance cannot hibernate successfully, a normal shutdown occurs. For more information, see Hibernate your instance in the Amazon EC2 User Guide.
Default: false
hibernate - Hibernates the instance if the instance was enabled for hibernation at launch. If the instance cannot
hibernate successfully, a normal shutdown occurs. For more information, see Hibernate your instance
in the Amazon EC2 User Guide.
Default: false
StopInstancesRequest.Builder force(Boolean force)
Forces the instances to stop. The instances do not have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances.
Default: false
force - Forces the instances to stop. The instances do not have an opportunity to flush file system caches or
file system metadata. If you use this option, you must perform file system check and repair
procedures. This option is not recommended for Windows instances.
Default: false
StopInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStopInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.