@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectConnectGatewayAttachment extends Object implements Serializable, Cloneable, StructuredPojo
The association between a direct connect gateway and virtual interface.
Constructor and Description |
---|
DirectConnectGatewayAttachment() |
public void setDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- public String getDirectConnectGatewayId()
public DirectConnectGatewayAttachment withDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- public void setVirtualInterfaceId(String virtualInterfaceId)
virtualInterfaceId
- public String getVirtualInterfaceId()
public DirectConnectGatewayAttachment withVirtualInterfaceId(String virtualInterfaceId)
virtualInterfaceId
- public void setVirtualInterfaceRegion(String virtualInterfaceRegion)
virtualInterfaceRegion
- public String getVirtualInterfaceRegion()
public DirectConnectGatewayAttachment withVirtualInterfaceRegion(String virtualInterfaceRegion)
virtualInterfaceRegion
- public void setVirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)
The AWS account ID of the owner of the virtual interface.
virtualInterfaceOwnerAccount
- The AWS account ID of the owner of the virtual interface.public String getVirtualInterfaceOwnerAccount()
The AWS account ID of the owner of the virtual interface.
public DirectConnectGatewayAttachment withVirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)
The AWS account ID of the owner of the virtual interface.
virtualInterfaceOwnerAccount
- The AWS account ID of the owner of the virtual interface.public void setAttachmentState(String attachmentState)
attachmentState
- DirectConnectGatewayAttachmentState
public String getAttachmentState()
DirectConnectGatewayAttachmentState
public DirectConnectGatewayAttachment withAttachmentState(String attachmentState)
attachmentState
- DirectConnectGatewayAttachmentState
public DirectConnectGatewayAttachment withAttachmentState(DirectConnectGatewayAttachmentState attachmentState)
attachmentState
- DirectConnectGatewayAttachmentState
public void setStateChangeError(String stateChangeError)
stateChangeError
- public String getStateChangeError()
public DirectConnectGatewayAttachment withStateChangeError(String stateChangeError)
stateChangeError
- public String toString()
toString
in class Object
Object.toString()
public DirectConnectGatewayAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.