@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectConnectGateway extends Object implements Serializable, Cloneable, StructuredPojo
A direct connect gateway is an intermediate object that enables you to connect virtual interfaces and virtual private gateways.
| Constructor and Description |
|---|
DirectConnectGateway() |
| Modifier and Type | Method and Description |
|---|---|
DirectConnectGateway |
clone() |
boolean |
equals(Object obj) |
Long |
getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
String |
getDirectConnectGatewayId() |
String |
getDirectConnectGatewayName() |
String |
getDirectConnectGatewayState() |
String |
getOwnerAccount()
The AWS account ID of the owner of the direct connect gateway.
|
String |
getStateChangeError() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId) |
void |
setDirectConnectGatewayName(String directConnectGatewayName) |
void |
setDirectConnectGatewayState(String directConnectGatewayState) |
void |
setOwnerAccount(String ownerAccount)
The AWS account ID of the owner of the direct connect gateway.
|
void |
setStateChangeError(String stateChangeError) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DirectConnectGateway |
withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
DirectConnectGateway |
withDirectConnectGatewayId(String directConnectGatewayId) |
DirectConnectGateway |
withDirectConnectGatewayName(String directConnectGatewayName) |
DirectConnectGateway |
withDirectConnectGatewayState(DirectConnectGatewayState directConnectGatewayState) |
DirectConnectGateway |
withDirectConnectGatewayState(String directConnectGatewayState) |
DirectConnectGateway |
withOwnerAccount(String ownerAccount)
The AWS account ID of the owner of the direct connect gateway.
|
DirectConnectGateway |
withStateChangeError(String stateChangeError) |
public void setDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId - public String getDirectConnectGatewayId()
public DirectConnectGateway withDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId - public void setDirectConnectGatewayName(String directConnectGatewayName)
directConnectGatewayName - public String getDirectConnectGatewayName()
public DirectConnectGateway withDirectConnectGatewayName(String directConnectGatewayName)
directConnectGatewayName - public void setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn - The autonomous system number (ASN) for the Amazon side of the connection.public Long getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public DirectConnectGateway withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn - The autonomous system number (ASN) for the Amazon side of the connection.public void setOwnerAccount(String ownerAccount)
The AWS account ID of the owner of the direct connect gateway.
ownerAccount - The AWS account ID of the owner of the direct connect gateway.public String getOwnerAccount()
The AWS account ID of the owner of the direct connect gateway.
public DirectConnectGateway withOwnerAccount(String ownerAccount)
The AWS account ID of the owner of the direct connect gateway.
ownerAccount - The AWS account ID of the owner of the direct connect gateway.public void setDirectConnectGatewayState(String directConnectGatewayState)
directConnectGatewayState - DirectConnectGatewayStatepublic String getDirectConnectGatewayState()
DirectConnectGatewayStatepublic DirectConnectGateway withDirectConnectGatewayState(String directConnectGatewayState)
directConnectGatewayState - DirectConnectGatewayStatepublic DirectConnectGateway withDirectConnectGatewayState(DirectConnectGatewayState directConnectGatewayState)
directConnectGatewayState - DirectConnectGatewayStatepublic void setStateChangeError(String stateChangeError)
stateChangeError - public String getStateChangeError()
public DirectConnectGateway withStateChangeError(String stateChangeError)
stateChangeError - public String toString()
toString in class ObjectObject.toString()public DirectConnectGateway clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.