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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RotateTunnelAccessTokenRequest.BuilderclientMode(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.RotateTunnelAccessTokenRequest.BuilderclientMode(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.default RotateTunnelAccessTokenRequest.BuilderdestinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)Sets the value of the DestinationConfig property for this object.RotateTunnelAccessTokenRequest.BuilderdestinationConfig(DestinationConfig destinationConfig)Sets the value of the DestinationConfig property for this object.RotateTunnelAccessTokenRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RotateTunnelAccessTokenRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RotateTunnelAccessTokenRequest.BuildertunnelId(String tunnelId)The tunnel for which you want to rotate the access tokens.-
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.iotsecuretunneling.model.IoTSecureTunnelingRequest.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 Detail
-
tunnelId
RotateTunnelAccessTokenRequest.Builder tunnelId(String 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
RotateTunnelAccessTokenRequest.Builder clientMode(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.
- 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,ClientMode
-
clientMode
RotateTunnelAccessTokenRequest.Builder 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.
- 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,ClientMode
-
destinationConfig
RotateTunnelAccessTokenRequest.Builder destinationConfig(DestinationConfig 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:
destinationConfig(DestinationConfig)
-
overrideConfiguration
RotateTunnelAccessTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RotateTunnelAccessTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-