@Generated(value="software.amazon.awssdk:codegen") public final class DirectConnectGatewayAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>
Information about an attachment between a Direct Connect gateway and a virtual interface.
Modifier and Type | Class and Description |
---|---|
static interface |
DirectConnectGatewayAttachment.Builder |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAttachmentState |
attachmentState()
The state of the attachment.
|
String |
attachmentStateAsString()
The state of the attachment.
|
static DirectConnectGatewayAttachment.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 DirectConnectGatewayAttachment.Builder> |
serializableBuilderClass() |
String |
stateChangeError()
The error message if the state of an object failed to advance.
|
DirectConnectGatewayAttachment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
virtualInterfaceId()
The ID of the virtual interface.
|
String |
virtualInterfaceOwnerAccount()
The ID of the AWS account that owns the virtual interface.
|
String |
virtualInterfaceRegion()
The AWS Region where the virtual interface is located.
|
copy
public String directConnectGatewayId()
The ID of the Direct Connect gateway.
public String virtualInterfaceId()
The ID of the virtual interface.
public String virtualInterfaceRegion()
The AWS Region where the virtual interface is located.
public String virtualInterfaceOwnerAccount()
The ID of the AWS account that owns the virtual interface.
public DirectConnectGatewayAttachmentState attachmentState()
The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between
the Direct Connect gateway and virtual interface is stopped.
If the service returns an enum value that is not available in the current SDK version, attachmentState
will return DirectConnectGatewayAttachmentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from attachmentStateAsString()
.
attaching
: The initial state after a virtual interface is created using the Direct Connect
gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass
traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
DirectConnectGatewayAttachmentState
public String attachmentStateAsString()
The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between
the Direct Connect gateway and virtual interface is stopped.
If the service returns an enum value that is not available in the current SDK version, attachmentState
will return DirectConnectGatewayAttachmentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from attachmentStateAsString()
.
attaching
: The initial state after a virtual interface is created using the Direct Connect
gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass
traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
DirectConnectGatewayAttachmentState
public String stateChangeError()
The error message if the state of an object failed to advance.
public DirectConnectGatewayAttachment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>
public static DirectConnectGatewayAttachment.Builder builder()
public static Class<? extends DirectConnectGatewayAttachment.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.