Interface RotateTunnelAccessTokenRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RotateTunnelAccessTokenRequest.Builder,,RotateTunnelAccessTokenRequest> IoTSecureTunnelingRequest.Builder,SdkBuilder<RotateTunnelAccessTokenRequest.Builder,,RotateTunnelAccessTokenRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RotateTunnelAccessTokenRequest
public static interface RotateTunnelAccessTokenRequest.Builder
extends IoTSecureTunnelingRequest.Builder, SdkPojo, CopyableBuilder<RotateTunnelAccessTokenRequest.Builder,RotateTunnelAccessTokenRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientMode(String clientMode) The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.clientMode(ClientMode clientMode) The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig) Sets the value of the DestinationConfig property for this object.destinationConfig(DestinationConfig destinationConfig) Sets the value of the DestinationConfig property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tunnel for which you want to rotate the access tokens.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.iotsecuretunneling.model.IoTSecureTunnelingRequest.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
-
tunnelId
The tunnel for which you want to rotate the access tokens.
- Parameters:
tunnelId- The tunnel for which you want to rotate the access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientMode
The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.
- Parameters:
clientMode- The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientMode
The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.
- Parameters:
clientMode- The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationConfig
Sets the value of the DestinationConfig property for this object.- Parameters:
destinationConfig- The new value for the DestinationConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfig
default RotateTunnelAccessTokenRequest.Builder destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig) Sets the value of the DestinationConfig property for this object. This is a convenience method that creates an instance of theDestinationConfig.Builderavoiding the need to create one manually viaDestinationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationConfig(DestinationConfig).- Parameters:
destinationConfig- a consumer that will call methods onDestinationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RotateTunnelAccessTokenRequest.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
RotateTunnelAccessTokenRequest.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.
-