@Generated(value="software.amazon.awssdk:codegen") public class DirectConnectGateway extends Object implements StructuredPojo, ToCopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>
A direct connect gateway is an intermediate object that enables you to connect virtual interfaces and virtual private gateways.
Modifier and Type | Class and Description |
---|---|
static interface |
DirectConnectGateway.Builder |
Modifier and Type | Method and Description |
---|---|
Long |
amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
static DirectConnectGateway.Builder |
builder() |
String |
directConnectGatewayId()
Returns the value of the DirectConnectGatewayId property for this object.
|
String |
directConnectGatewayName()
Returns the value of the DirectConnectGatewayName property for this object.
|
DirectConnectGatewayState |
directConnectGatewayState()
Returns the value of the DirectConnectGatewayState property for this object.
|
String |
directConnectGatewayStateAsString()
Returns the value of the DirectConnectGatewayState 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 . |
String |
ownerAccount()
The AWS account ID of the owner of the direct connect gateway.
|
static Class<? extends DirectConnectGateway.Builder> |
serializableBuilderClass() |
String |
stateChangeError()
Returns the value of the StateChangeError property for this object.
|
DirectConnectGateway.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String directConnectGatewayId()
public String directConnectGatewayName()
public Long amazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public String ownerAccount()
The AWS account ID of the owner of the direct connect gateway.
public DirectConnectGatewayState directConnectGatewayState()
If the service returns an enum value that is not available in the current SDK version,
directConnectGatewayState
will return DirectConnectGatewayState.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from directConnectGatewayStateAsString()
.
DirectConnectGatewayState
public String directConnectGatewayStateAsString()
If the service returns an enum value that is not available in the current SDK version,
directConnectGatewayState
will return DirectConnectGatewayState.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from directConnectGatewayStateAsString()
.
DirectConnectGatewayState
public String stateChangeError()
public DirectConnectGateway.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectConnectGateway.Builder,DirectConnectGateway>
public static DirectConnectGateway.Builder builder()
public static Class<? extends DirectConnectGateway.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.