Interface UpdateCommandRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCommandRequest.Builder,
,UpdateCommandRequest> IotRequest.Builder
,SdkBuilder<UpdateCommandRequest.Builder,
,UpdateCommandRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCommandRequest
@Mutable
@NotThreadSafe
public static interface UpdateCommandRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateCommandRequest.Builder,UpdateCommandRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the command to be updated.deprecated
(Boolean deprecated) A boolean that you can use to specify whether to deprecate a command.description
(String description) A short text description of the command.displayName
(String displayName) The new user-friendly name to use in the console for 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.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
commandId
The unique identifier of the command to be updated.
- Parameters:
commandId
- The unique identifier of the command to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The new user-friendly name to use in the console for the command.
- Parameters:
displayName
- The new user-friendly name to use in the console for the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A short text description of the command.
- Parameters:
description
- A short text description of the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deprecated
A boolean that you can use to specify whether to deprecate a command.
- Parameters:
deprecated
- A boolean that you can use to specify whether to deprecate a command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-