@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 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ownerAccount()
The ID of the AWS 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String directConnectGatewayId()
The ID of the Direct Connect gateway.
public String directConnectGatewayName()
The name of the Direct Connect gateway.
public Long amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public String ownerAccount()
The ID of the AWS account that owns the Direct Connect gateway.
public 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.
DirectConnectGatewayState
public 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.
DirectConnectGatewayState
public String stateChangeError()
The error message if the state of an object failed to advance.
public DirectConnectGateway.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>
public static DirectConnectGateway.Builder builder()
public static Class<? extends DirectConnectGateway.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.