@Generated(value="software.amazon.awssdk:codegen") public final class TunnelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TunnelSummary.Builder,TunnelSummary>
Information about the tunnel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TunnelSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TunnelSummary.Builder |
builder() |
Instant |
createdAt()
The time the tunnel was created.
|
String |
description()
A description of the tunnel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedAt()
The time the tunnel was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TunnelSummary.Builder> |
serializableBuilderClass() |
TunnelStatus |
status()
The status of a tunnel.
|
String |
statusAsString()
The status of a tunnel.
|
TunnelSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
tunnelArn()
The Amazon Resource Name of the tunnel.
|
String |
tunnelId()
The unique alpha-numeric identifier for the tunnel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String tunnelId()
The unique alpha-numeric identifier for the tunnel.
public final String tunnelArn()
The Amazon Resource Name of the tunnel.
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 String description()
A description of the tunnel.
public final Instant createdAt()
The time the tunnel was created.
public final Instant lastUpdatedAt()
The time the tunnel was last updated.
public TunnelSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TunnelSummary.Builder,TunnelSummary>public static TunnelSummary.Builder builder()
public static Class<? extends TunnelSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.