Interface CancelCommandRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CancelCommandRequest.Builder,CancelCommandRequest>
,SdkBuilder<CancelCommandRequest.Builder,CancelCommandRequest>
,SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
- CancelCommandRequest
public static interface CancelCommandRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<CancelCommandRequest.Builder,CancelCommandRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelCommandRequest.Builder
commandId(String commandId)
The ID of the command you want to cancel.CancelCommandRequest.Builder
instanceIds(String... instanceIds)
(Optional) A list of managed node IDs on which you want to cancel the command.CancelCommandRequest.Builder
instanceIds(Collection<String> instanceIds)
(Optional) A list of managed node IDs on which you want to cancel the command.CancelCommandRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CancelCommandRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
commandId
CancelCommandRequest.Builder commandId(String commandId)
The ID of the command you want to cancel.
- Parameters:
commandId
- The ID of the command you want to cancel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
CancelCommandRequest.Builder instanceIds(Collection<String> instanceIds)
(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
- Parameters:
instanceIds
- (Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
CancelCommandRequest.Builder instanceIds(String... instanceIds)
(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
- Parameters:
instanceIds
- (Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CancelCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CancelCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-