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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteThingRequest.Builder
expectedVersion(Long expectedVersion)
The expected version of the thing record in the registry.DeleteThingRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DeleteThingRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DeleteThingRequest.Builder
thingName(String thingName)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
thingName
DeleteThingRequest.Builder thingName(String 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
DeleteThingRequest.Builder expectedVersion(Long 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-