@Generated(value="software.amazon.awssdk:codegen") public final class DirectConnectGateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>
Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DirectConnectGateway.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
static DirectConnectGateway.Builder |
builder() |
String |
directConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
directConnectGatewayName()
The name of the Direct Connect gateway.
|
DirectConnectGatewayState |
directConnectGatewayState()
The state of the Direct Connect gateway.
|
String |
directConnectGatewayStateAsString()
The state of the Direct Connect gateway.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ownerAccount()
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DirectConnectGateway.Builder> |
serializableBuilderClass() |
String |
stateChangeError()
The error message if the state of an object failed to advance.
|
DirectConnectGateway.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directConnectGatewayId()
The ID of the Direct Connect gateway.
public final String directConnectGatewayName()
The name of the Direct Connect gateway.
public final Long amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public final String ownerAccount()
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
public final DirectConnectGatewayState directConnectGatewayState()
The state of the Direct Connect gateway. The following are the possible values:
pending: The initial state after calling CreateDirectConnectGateway.
available: The Direct Connect gateway is ready for use.
deleting: The initial state after calling DeleteDirectConnectGateway.
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
If the service returns an enum value that is not available in the current SDK version,
directConnectGatewayState will return DirectConnectGatewayState.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from directConnectGatewayStateAsString().
pending: The initial state after calling CreateDirectConnectGateway.
available: The Direct Connect gateway is ready for use.
deleting: The initial state after calling DeleteDirectConnectGateway.
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
DirectConnectGatewayStatepublic final String directConnectGatewayStateAsString()
The state of the Direct Connect gateway. The following are the possible values:
pending: The initial state after calling CreateDirectConnectGateway.
available: The Direct Connect gateway is ready for use.
deleting: The initial state after calling DeleteDirectConnectGateway.
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
If the service returns an enum value that is not available in the current SDK version,
directConnectGatewayState will return DirectConnectGatewayState.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from directConnectGatewayStateAsString().
pending: The initial state after calling CreateDirectConnectGateway.
available: The Direct Connect gateway is ready for use.
deleting: The initial state after calling DeleteDirectConnectGateway.
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
DirectConnectGatewayStatepublic final String stateChangeError()
The error message if the state of an object failed to advance.
public DirectConnectGateway.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>public static DirectConnectGateway.Builder builder()
public static Class<? extends DirectConnectGateway.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.