public static interface CancelCommandRequest.Builder extends SSMRequest.Builder, CopyableBuilder<CancelCommandRequest.Builder,CancelCommandRequest>
| Modifier and Type | Method and Description |
|---|---|
CancelCommandRequest.Builder |
commandId(String commandId)
The ID of the command you want to cancel.
|
CancelCommandRequest.Builder |
instanceIds(Collection<String> instanceIds)
(Optional) A list of instance IDs on which you want to cancel the command.
|
CancelCommandRequest.Builder |
instanceIds(String... instanceIds)
(Optional) A list of instance IDs on which you want to cancel the command.
|
CancelCommandRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CancelCommandRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCancelCommandRequest.Builder commandId(String commandId)
The ID of the command you want to cancel.
commandId - The ID of the command you want to cancel.CancelCommandRequest.Builder instanceIds(Collection<String> instanceIds)
(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.
instanceIds - (Optional) A list of instance IDs on which you want to cancel the command. If not provided, the
command is canceled on every instance on which it was requested.CancelCommandRequest.Builder instanceIds(String... instanceIds)
(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.
instanceIds - (Optional) A list of instance IDs on which you want to cancel the command. If not provided, the
command is canceled on every instance on which it was requested.CancelCommandRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CancelCommandRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.