@Generated(value="software.amazon.awssdk:codegen") public final class DirectConnectGatewayAttachment extends Object implements StructuredPojo, ToCopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>
The association between a direct connect gateway and virtual interface.
Modifier and Type | Class and Description |
---|---|
static interface |
DirectConnectGatewayAttachment.Builder |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAttachmentState |
attachmentState()
Returns the value of the AttachmentState property for this object.
|
String |
attachmentStateAsString()
Returns the value of the AttachmentState property for this object.
|
static DirectConnectGatewayAttachment.Builder |
builder() |
String |
directConnectGatewayId()
Returns the value of the DirectConnectGatewayId property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends DirectConnectGatewayAttachment.Builder> |
serializableBuilderClass() |
String |
stateChangeError()
Returns the value of the StateChangeError property for this object.
|
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()
Returns the value of the VirtualInterfaceId property for this object.
|
String |
virtualInterfaceOwnerAccount()
The AWS account ID of the owner of the virtual interface.
|
String |
virtualInterfaceRegion()
Returns the value of the VirtualInterfaceRegion property for this object.
|
copy
public String directConnectGatewayId()
public String virtualInterfaceId()
public String virtualInterfaceRegion()
public String virtualInterfaceOwnerAccount()
The AWS account ID of the owner of the virtual interface.
public DirectConnectGatewayAttachmentState attachmentState()
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()
.
DirectConnectGatewayAttachmentState
public String attachmentStateAsString()
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()
.
DirectConnectGatewayAttachmentState
public String stateChangeError()
public DirectConnectGatewayAttachment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectConnectGatewayAttachment.Builder,DirectConnectGatewayAttachment>
public static DirectConnectGatewayAttachment.Builder builder()
public static Class<? extends DirectConnectGatewayAttachment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.