Interface CancelCommandRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CancelCommandRequest.Builder,,- CancelCommandRequest> - SdkBuilder<CancelCommandRequest.Builder,,- CancelCommandRequest> - SdkPojo,- SdkRequest.Builder,- SsmRequest.Builder
- Enclosing class:
- CancelCommandRequest
@Mutable
@NotThreadSafe
public static interface CancelCommandRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<CancelCommandRequest.Builder,CancelCommandRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionThe ID of the command you want to cancel.instanceIds(String... instanceIds) (Optional) A list of managed node IDs on which you want to cancel the command.instanceIds(Collection<String> instanceIds) (Optional) A list of managed node IDs on which you want to cancel the command.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builderbuild
- 
Method Details- 
commandIdThe 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(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(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.
 
- 
overrideConfigurationCancelCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCancelCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-