Interface DeleteConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteConnectionRequest.Builder,DeleteConnectionRequest>,IotDataPlaneRequest.Builder,SdkBuilder<DeleteConnectionRequest.Builder,DeleteConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteConnectionRequest
@Mutable @NotThreadSafe public static interface DeleteConnectionRequest.Builder extends IotDataPlaneRequest.Builder, SdkPojo, CopyableBuilder<DeleteConnectionRequest.Builder,DeleteConnectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteConnectionRequest.BuildercleanSession(Boolean cleanSession)Specifies whether to remove the client's session state when disconnecting.DeleteConnectionRequest.BuilderclientId(String clientId)The unique identifier of the MQTT client to disconnect.DeleteConnectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteConnectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteConnectionRequest.BuilderpreventWillMessage(Boolean preventWillMessage)Controls if Amazon Web Services IoT Core publishes the client's Last Will and Testament (LWT) message upon disconnection.-
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.iotdataplane.model.IotDataPlaneRequest.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
-
clientId
DeleteConnectionRequest.Builder clientId(String clientId)
The unique identifier of the MQTT client to disconnect. The client ID can't start with a dollar sign ($).
- Parameters:
clientId- The unique identifier of the MQTT client to disconnect. The client ID can't start with a dollar sign ($).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cleanSession
DeleteConnectionRequest.Builder cleanSession(Boolean cleanSession)
Specifies whether to remove the client's session state when disconnecting. Set to
TRUEto delete all session information, including subscriptions and queued messages. Set toFALSEto preserve the session state. By default, this is set toFALSE(preserves the session state).- Parameters:
cleanSession- Specifies whether to remove the client's session state when disconnecting. Set toTRUEto delete all session information, including subscriptions and queued messages. Set toFALSEto preserve the session state. By default, this is set toFALSE(preserves the session state).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preventWillMessage
DeleteConnectionRequest.Builder preventWillMessage(Boolean preventWillMessage)
Controls if Amazon Web Services IoT Core publishes the client's Last Will and Testament (LWT) message upon disconnection. Set to
TRUEto prevent publishing the LWT message. Set toFALSEto allow publishing. By default, this is set toFALSE(allows publishing the LWT message).- Parameters:
preventWillMessage- Controls if Amazon Web Services IoT Core publishes the client's Last Will and Testament (LWT) message upon disconnection. Set toTRUEto prevent publishing the LWT message. Set toFALSEto allow publishing. By default, this is set toFALSE(allows publishing the LWT message).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-