@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.
|
DirectConnectGatewayAttachmentType |
attachmentType()
The type of attachment.
|
String |
attachmentTypeAsString()
The type of attachment.
|
static DirectConnectGatewayAttachment.Builder |
builder() |
String |
directConnectGatewayId()
The ID of the Direct Connect gateway.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
virtualInterfaceId()
The ID of the virtual interface.
|
String |
virtualInterfaceOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual interface.
|
String |
virtualInterfaceRegion()
The Amazon Web Services Region where the virtual interface is located.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directConnectGatewayId()
The ID of the Direct Connect gateway.
public final String virtualInterfaceId()
The ID of the virtual interface.
public final String virtualInterfaceRegion()
The Amazon Web Services Region where the virtual interface is located.
public final String virtualInterfaceOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual interface.
public final 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.
DirectConnectGatewayAttachmentStatepublic final 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.
DirectConnectGatewayAttachmentStatepublic final DirectConnectGatewayAttachmentType attachmentType()
The type of attachment.
If the service returns an enum value that is not available in the current SDK version, attachmentType
will return DirectConnectGatewayAttachmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from attachmentTypeAsString().
DirectConnectGatewayAttachmentTypepublic final String attachmentTypeAsString()
The type of attachment.
If the service returns an enum value that is not available in the current SDK version, attachmentType
will return DirectConnectGatewayAttachmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from attachmentTypeAsString().
DirectConnectGatewayAttachmentTypepublic final String stateChangeError()
The error message if the state of an object failed to advance.
public DirectConnectGatewayAttachment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>public static DirectConnectGatewayAttachment.Builder builder()
public static Class<? extends DirectConnectGatewayAttachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.