@Generated(value="software.amazon.awssdk:codegen") public final class DirectConnectGatewayAssociation extends Object implements StructuredPojo, ToCopyableBuilder<DirectConnectGatewayAssociation.Builder,DirectConnectGatewayAssociation>
The association between a direct connect gateway and virtual private gateway.
Modifier and Type | Class and Description |
---|---|
static interface |
DirectConnectGatewayAssociation.Builder |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAssociationState |
associationState()
Returns the value of the AssociationState property for this object.
|
String |
associationStateAsString()
Returns the value of the AssociationState property for this object.
|
static DirectConnectGatewayAssociation.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 DirectConnectGatewayAssociation.Builder> |
serializableBuilderClass() |
String |
stateChangeError()
Returns the value of the StateChangeError property for this object.
|
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()
Returns the value of the VirtualGatewayId property for this object.
|
String |
virtualGatewayOwnerAccount()
The AWS account ID of the owner of the virtual private gateway.
|
String |
virtualGatewayRegion()
Returns the value of the VirtualGatewayRegion property for this object.
|
copy
public String directConnectGatewayId()
public String virtualGatewayId()
public String virtualGatewayRegion()
public String virtualGatewayOwnerAccount()
The AWS account ID of the owner of the virtual private gateway.
public DirectConnectGatewayAssociationState associationState()
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()
.
DirectConnectGatewayAssociationState
public String associationStateAsString()
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()
.
DirectConnectGatewayAssociationState
public String stateChangeError()
public DirectConnectGatewayAssociation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectConnectGatewayAssociation.Builder,DirectConnectGatewayAssociation>
public static DirectConnectGatewayAssociation.Builder builder()
public static Class<? extends DirectConnectGatewayAssociation.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.