Interface DeleteThingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteThingRequest.Builder,,DeleteThingRequest> IotRequest.Builder,SdkBuilder<DeleteThingRequest.Builder,,DeleteThingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteThingRequest
@Mutable
@NotThreadSafe
public static interface DeleteThingRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<DeleteThingRequest.Builder,DeleteThingRequest>
-
Method Summary
Modifier and TypeMethodDescriptionexpectedVersion(Long expectedVersion) The expected version of the thing record in the registry.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the thing to delete.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
thingName
The name of the thing to delete.
- Parameters:
thingName- The name of the thing to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedVersion
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the
DeleteThingrequest is rejected with aVersionConflictException.- Parameters:
expectedVersion- The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, theDeleteThingrequest is rejected with aVersionConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteThingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-