@Generated(value="software.amazon.awssdk:codegen") public final class Tunnel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Tunnel.Builder,Tunnel>
A connection between a source computer and a destination device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Tunnel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Tunnel.Builder |
builder() |
Instant |
createdAt()
The time when the tunnel was created.
|
String |
description()
A description of the tunnel.
|
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.
|
ConnectionState |
destinationConnectionState()
The connection state of the destination application.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Instant |
lastUpdatedAt()
The last time the tunnel was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Tunnel.Builder> |
serializableBuilderClass() |
ConnectionState |
sourceConnectionState()
The connection state of the source application.
|
TunnelStatus |
status()
The status of a tunnel.
|
String |
statusAsString()
The status of a tunnel.
|
List<Tag> |
tags()
A list of tag metadata associated with the secure tunnel.
|
TimeoutConfig |
timeoutConfig()
Timeout configuration for the tunnel.
|
Tunnel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
tunnelArn()
The Amazon Resource Name (ARN) of a tunnel.
|
String |
tunnelId()
A unique alpha-numeric ID that identifies a tunnel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String tunnelId()
A unique alpha-numeric ID that identifies a tunnel.
public final String tunnelArn()
The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>public final TunnelStatus status()
The status of a tunnel. Valid values are: Open and Closed.
If the service returns an enum value that is not available in the current SDK version, status will
return TunnelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TunnelStatuspublic final String statusAsString()
The status of a tunnel. Valid values are: Open and Closed.
If the service returns an enum value that is not available in the current SDK version, status will
return TunnelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
TunnelStatuspublic final ConnectionState sourceConnectionState()
The connection state of the source application.
public final ConnectionState destinationConnectionState()
The connection state of the destination application.
public final String description()
A description of the tunnel.
public final 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.
public final TimeoutConfig timeoutConfig()
Timeout configuration for the tunnel.
public final boolean hasTags()
public final List<Tag> tags()
A list of tag metadata associated with the secure tunnel.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final Instant createdAt()
The time when the tunnel was created.
public final Instant lastUpdatedAt()
The last time the tunnel was updated.
public Tunnel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Tunnel.Builder,Tunnel>public static Tunnel.Builder builder()
public static Class<? extends Tunnel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.