CopyableBuilder<StopInstancesRequest.Builder,StopInstancesRequest>
, SdkBuilder<StopInstancesRequest.Builder,StopInstancesRequest>
public static interface StopInstancesRequest.Builder extends CopyableBuilder<StopInstancesRequest.Builder,StopInstancesRequest>
Modifier and Type | Method | Description |
---|---|---|
StopInstancesRequest.Builder |
force(Boolean force) |
Forces the instances to stop.
|
StopInstancesRequest.Builder |
instanceIds(String... instanceIds) |
One or more instance IDs.
|
StopInstancesRequest.Builder |
instanceIds(Collection<String> instanceIds) |
One or more instance IDs.
|
copy
apply, build
StopInstancesRequest.Builder instanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.StopInstancesRequest.Builder instanceIds(String... instanceIds)
One or more instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceIds(java.util.Collection)
or #withInstanceIds(java.util.Collection)
if you want
to override the existing values.
instanceIds
- One or more instance IDs.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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.