Interface Tunnel.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Tunnel.Builder,,Tunnel> SdkBuilder<Tunnel.Builder,,Tunnel> SdkPojo
- Enclosing class:
Tunnel
-
Method Summary
Modifier and TypeMethodDescriptionThe time when the tunnel was created.description(String description) A description of the tunnel.default Tunnel.BuilderdestinationConfig(Consumer<DestinationConfig.Builder> destinationConfig) The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.destinationConfig(DestinationConfig destinationConfig) The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.default Tunnel.BuilderdestinationConnectionState(Consumer<ConnectionState.Builder> destinationConnectionState) The connection state of the destination application.destinationConnectionState(ConnectionState destinationConnectionState) The connection state of the destination application.lastUpdatedAt(Instant lastUpdatedAt) The last time the tunnel was updated.default Tunnel.BuildersourceConnectionState(Consumer<ConnectionState.Builder> sourceConnectionState) The connection state of the source application.sourceConnectionState(ConnectionState sourceConnectionState) The connection state of the source application.The status of a tunnel.status(TunnelStatus status) The status of a tunnel.tags(Collection<Tag> tags) A list of tag metadata associated with the secure tunnel.tags(Consumer<Tag.Builder>... tags) A list of tag metadata associated with the secure tunnel.A list of tag metadata associated with the secure tunnel.default Tunnel.BuildertimeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig) Timeout configuration for the tunnel.timeoutConfig(TimeoutConfig timeoutConfig) Timeout configuration for the tunnel.The Amazon Resource Name (ARN) of a tunnel.A unique alpha-numeric ID that identifies a tunnel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
A unique alpha-numeric ID that identifies a tunnel.
- Parameters:
tunnelId- A unique alpha-numeric ID that identifies a tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelArn
The Amazon Resource Name (ARN) of a tunnel.
- Parameters:
tunnelArn- The Amazon Resource Name (ARN) of a tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of a tunnel. Valid values are: Open and Closed.
- Parameters:
status- The status of a tunnel. Valid values are: Open and Closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of a tunnel. Valid values are: Open and Closed.
- Parameters:
status- The status of a tunnel. Valid values are: Open and Closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceConnectionState
The connection state of the source application.
- Parameters:
sourceConnectionState- The connection state of the source application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConnectionState
default Tunnel.Builder sourceConnectionState(Consumer<ConnectionState.Builder> sourceConnectionState) The connection state of the source application.
This is a convenience method that creates an instance of theConnectionState.Builderavoiding the need to create one manually viaConnectionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConnectionState(ConnectionState).- Parameters:
sourceConnectionState- a consumer that will call methods onConnectionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationConnectionState
The connection state of the destination application.
- Parameters:
destinationConnectionState- The connection state of the destination application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConnectionState
default Tunnel.Builder destinationConnectionState(Consumer<ConnectionState.Builder> destinationConnectionState) The connection state of the destination application.
This is a convenience method that creates an instance of theConnectionState.Builderavoiding the need to create one manually viaConnectionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationConnectionState(ConnectionState).- Parameters:
destinationConnectionState- a consumer that will call methods onConnectionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the tunnel.
- Parameters:
description- A description of the tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfig
The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.
- Parameters:
destinationConfig- The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfig
The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.
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:
-
timeoutConfig
Timeout configuration for the tunnel.
- Parameters:
timeoutConfig- Timeout configuration for the tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
Timeout configuration for the tunnel.
This is a convenience method that creates an instance of theTimeoutConfig.Builderavoiding the need to create one manually viaTimeoutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeoutConfig(TimeoutConfig).- Parameters:
timeoutConfig- a consumer that will call methods onTimeoutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tag metadata associated with the secure tunnel.
- Parameters:
tags- A list of tag metadata associated with the secure tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tag metadata associated with the secure tunnel.
- Parameters:
tags- A list of tag metadata associated with the secure tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tag metadata associated with the secure tunnel.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when the tunnel was created.
- Parameters:
createdAt- The time when the tunnel was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The last time the tunnel was updated.
- Parameters:
lastUpdatedAt- The last time the tunnel was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-