@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayConnectPeerAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes a transit gateway Connect peer association.
Constructor and Description |
---|
TransitGatewayConnectPeerAssociation() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayConnectPeerAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceId()
The ID of the device.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getLinkId()
The ID of the link.
|
String |
getState()
The state of the association.
|
String |
getTransitGatewayConnectPeerArn()
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceId(String deviceId)
The ID of the device.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLinkId(String linkId)
The ID of the link.
|
void |
setState(String state)
The state of the association.
|
void |
setTransitGatewayConnectPeerArn(String transitGatewayConnectPeerArn)
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayConnectPeerAssociation |
withDeviceId(String deviceId)
The ID of the device.
|
TransitGatewayConnectPeerAssociation |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
TransitGatewayConnectPeerAssociation |
withLinkId(String linkId)
The ID of the link.
|
TransitGatewayConnectPeerAssociation |
withState(String state)
The state of the association.
|
TransitGatewayConnectPeerAssociation |
withState(TransitGatewayConnectPeerAssociationState state)
The state of the association.
|
TransitGatewayConnectPeerAssociation |
withTransitGatewayConnectPeerArn(String transitGatewayConnectPeerArn)
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
|
public TransitGatewayConnectPeerAssociation()
public void setTransitGatewayConnectPeerArn(String transitGatewayConnectPeerArn)
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
transitGatewayConnectPeerArn
- The Amazon Resource Name (ARN) of the transit gateway Connect peer.public String getTransitGatewayConnectPeerArn()
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
public TransitGatewayConnectPeerAssociation withTransitGatewayConnectPeerArn(String transitGatewayConnectPeerArn)
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
transitGatewayConnectPeerArn
- The Amazon Resource Name (ARN) of the transit gateway Connect peer.public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public TransitGatewayConnectPeerAssociation withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public String getDeviceId()
The ID of the device.
public TransitGatewayConnectPeerAssociation withDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public void setLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public String getLinkId()
The ID of the link.
public TransitGatewayConnectPeerAssociation withLinkId(String linkId)
The ID of the link.
linkId
- The ID of the link.public void setState(String state)
The state of the association.
state
- The state of the association.TransitGatewayConnectPeerAssociationState
public String getState()
The state of the association.
TransitGatewayConnectPeerAssociationState
public TransitGatewayConnectPeerAssociation withState(String state)
The state of the association.
state
- The state of the association.TransitGatewayConnectPeerAssociationState
public TransitGatewayConnectPeerAssociation withState(TransitGatewayConnectPeerAssociationState state)
The state of the association.
state
- The state of the association.TransitGatewayConnectPeerAssociationState
public String toString()
toString
in class Object
Object.toString()
public TransitGatewayConnectPeerAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.