@Generated(value="software.amazon.awssdk:codegen") public final class DirectConnectGatewayAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectConnectGatewayAssociation.Builder,DirectConnectGatewayAssociation>
Information about an association between a Direct Connect gateway and a virtual private gateway.
Modifier and Type | Class and Description |
---|---|
static interface |
DirectConnectGatewayAssociation.Builder |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAssociationState |
associationState()
The state of the association.
|
String |
associationStateAsString()
The state of the association.
|
static DirectConnectGatewayAssociation.Builder |
builder() |
String |
directConnectGatewayId()
The ID of the Direct Connect gateway.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DirectConnectGatewayAssociation.Builder> |
serializableBuilderClass() |
String |
stateChangeError()
The error message if the state of an object failed to advance.
|
DirectConnectGatewayAssociation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
virtualGatewayId()
The ID of the virtual private gateway.
|
String |
virtualGatewayOwnerAccount()
The ID of the AWS account that owns the virtual private gateway.
|
String |
virtualGatewayRegion()
The AWS Region where the virtual private gateway is located.
|
copy
public String directConnectGatewayId()
The ID of the Direct Connect gateway.
public String virtualGatewayId()
The ID of the virtual private gateway. Applies only to private virtual interfaces.
public String virtualGatewayRegion()
The AWS Region where the virtual private gateway is located.
public String virtualGatewayOwnerAccount()
The ID of the AWS account that owns the virtual private gateway.
public DirectConnectGatewayAssociationState associationState()
The state of the association. The following are the possible values:
associating
: The initial state after calling CreateDirectConnectGatewayAssociation.
associated
: The Direct Connect gateway and virtual private gateway are successfully associated and
ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic
flow between the Direct Connect gateway and virtual private gateway is stopped.
If the service returns an enum value that is not available in the current SDK version, associationState
will return DirectConnectGatewayAssociationState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from associationStateAsString()
.
associating
: The initial state after calling CreateDirectConnectGatewayAssociation.
associated
: The Direct Connect gateway and virtual private gateway are successfully
associated and ready to pass traffic.
disassociating
: The initial state after calling
DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway is disassociated from the Direct Connect gateway.
Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
DirectConnectGatewayAssociationState
public String associationStateAsString()
The state of the association. The following are the possible values:
associating
: The initial state after calling CreateDirectConnectGatewayAssociation.
associated
: The Direct Connect gateway and virtual private gateway are successfully associated and
ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic
flow between the Direct Connect gateway and virtual private gateway is stopped.
If the service returns an enum value that is not available in the current SDK version, associationState
will return DirectConnectGatewayAssociationState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from associationStateAsString()
.
associating
: The initial state after calling CreateDirectConnectGatewayAssociation.
associated
: The Direct Connect gateway and virtual private gateway are successfully
associated and ready to pass traffic.
disassociating
: The initial state after calling
DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway is disassociated from the Direct Connect gateway.
Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
DirectConnectGatewayAssociationState
public String stateChangeError()
The error message if the state of an object failed to advance.
public DirectConnectGatewayAssociation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectConnectGatewayAssociation.Builder,DirectConnectGatewayAssociation>
public static DirectConnectGatewayAssociation.Builder builder()
public static Class<? extends DirectConnectGatewayAssociation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.