public static interface Tunnel.Builder extends SdkPojo, CopyableBuilder<Tunnel.Builder,Tunnel>
| Modifier and Type | Method and Description |
|---|---|
Tunnel.Builder |
createdAt(Instant createdAt)
The time when the tunnel was created.
|
Tunnel.Builder |
description(String description)
A description of the tunnel.
|
default Tunnel.Builder |
destinationConfig(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.
|
Tunnel.Builder |
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.
|
Tunnel.Builder |
destinationConnectionState(ConnectionState destinationConnectionState)
The connection state of the destination application.
|
default Tunnel.Builder |
destinationConnectionState(Consumer<ConnectionState.Builder> destinationConnectionState)
The connection state of the destination application.
|
Tunnel.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The last time the tunnel was updated.
|
Tunnel.Builder |
sourceConnectionState(ConnectionState sourceConnectionState)
The connection state of the source application.
|
default Tunnel.Builder |
sourceConnectionState(Consumer<ConnectionState.Builder> sourceConnectionState)
The connection state of the source application.
|
Tunnel.Builder |
status(String status)
The status of a tunnel.
|
Tunnel.Builder |
status(TunnelStatus status)
The status of a tunnel.
|
Tunnel.Builder |
tags(Collection<Tag> tags)
A list of tag metadata associated with the secure tunnel.
|
Tunnel.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tag metadata associated with the secure tunnel.
|
Tunnel.Builder |
tags(Tag... tags)
A list of tag metadata associated with the secure tunnel.
|
default Tunnel.Builder |
timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
Timeout configuration for the tunnel.
|
Tunnel.Builder |
timeoutConfig(TimeoutConfig timeoutConfig)
Timeout configuration for the tunnel.
|
Tunnel.Builder |
tunnelArn(String tunnelArn)
The Amazon Resource Name (ARN) of a tunnel.
|
Tunnel.Builder |
tunnelId(String tunnelId)
A unique alpha-numeric ID that identifies a tunnel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTunnel.Builder tunnelId(String tunnelId)
A unique alpha-numeric ID that identifies a tunnel.
tunnelId - A unique alpha-numeric ID that identifies a tunnel.Tunnel.Builder tunnelArn(String tunnelArn)
The Amazon Resource Name (ARN) of a tunnel.
tunnelArn - The Amazon Resource Name (ARN) of a tunnel.Tunnel.Builder status(String status)
The status of a tunnel. Valid values are: Open and Closed.
status - The status of a tunnel. Valid values are: Open and Closed.TunnelStatus,
TunnelStatusTunnel.Builder status(TunnelStatus status)
The status of a tunnel. Valid values are: Open and Closed.
status - The status of a tunnel. Valid values are: Open and Closed.TunnelStatus,
TunnelStatusTunnel.Builder sourceConnectionState(ConnectionState sourceConnectionState)
The connection state of the source application.
sourceConnectionState - The connection state of the source application.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.Builder avoiding the
need to create one manually via ConnectionState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sourceConnectionState(ConnectionState).
sourceConnectionState - a consumer that will call methods on ConnectionState.BuildersourceConnectionState(ConnectionState)Tunnel.Builder destinationConnectionState(ConnectionState destinationConnectionState)
The connection state of the destination application.
destinationConnectionState - The connection state of the destination application.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.Builder avoiding the
need to create one manually via ConnectionState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to destinationConnectionState(ConnectionState).
destinationConnectionState - a consumer that will call methods on ConnectionState.BuilderdestinationConnectionState(ConnectionState)Tunnel.Builder description(String description)
A description of the tunnel.
description - A description of the tunnel.Tunnel.Builder 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.
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.Builder destinationConfig(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.
This is a convenience method that creates an instance of theDestinationConfig.Builder avoiding the
need to create one manually via DestinationConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to destinationConfig(DestinationConfig).
destinationConfig - a consumer that will call methods on DestinationConfig.BuilderdestinationConfig(DestinationConfig)Tunnel.Builder timeoutConfig(TimeoutConfig timeoutConfig)
Timeout configuration for the tunnel.
timeoutConfig - Timeout configuration for the tunnel.default Tunnel.Builder timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
Timeout configuration for the tunnel.
This is a convenience method that creates an instance of theTimeoutConfig.Builder avoiding the need
to create one manually via TimeoutConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timeoutConfig(TimeoutConfig).
timeoutConfig - a consumer that will call methods on TimeoutConfig.BuildertimeoutConfig(TimeoutConfig)Tunnel.Builder tags(Collection<Tag> tags)
A list of tag metadata associated with the secure tunnel.
tags - A list of tag metadata associated with the secure tunnel.Tunnel.Builder tags(Tag... tags)
A list of tag metadata associated with the secure tunnel.
tags - A list of tag metadata associated with the secure tunnel.Tunnel.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag metadata associated with the secure tunnel.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Tunnel.Builder createdAt(Instant createdAt)
The time when the tunnel was created.
createdAt - The time when the tunnel was created.Tunnel.Builder lastUpdatedAt(Instant lastUpdatedAt)
The last time the tunnel was updated.
lastUpdatedAt - The last time the tunnel was updated.Copyright © 2023. All rights reserved.