Interface DeleteThingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteThingRequest.Builder,
,DeleteThingRequest> IotRequest.Builder
,SdkBuilder<DeleteThingRequest.Builder,
,DeleteThingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteThingRequest
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
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, 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
DeleteThing
request 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, theDeleteThing
request 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.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
DeleteThingRequest.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.
-