@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayPeering extends Object implements Serializable, Cloneable, StructuredPojo
Describes a transit gateway peering attachment.
Constructor and Description |
---|
TransitGatewayPeering() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayPeering |
clone() |
boolean |
equals(Object obj) |
Peering |
getPeering()
Describes a transit gateway peer connection.
|
String |
getTransitGatewayArn()
The ARN of the transit gateway.
|
String |
getTransitGatewayPeeringAttachmentId()
The ID of the transit gateway peering attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPeering(Peering peering)
Describes a transit gateway peer connection.
|
void |
setTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway.
|
void |
setTransitGatewayPeeringAttachmentId(String transitGatewayPeeringAttachmentId)
The ID of the transit gateway peering attachment.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayPeering |
withPeering(Peering peering)
Describes a transit gateway peer connection.
|
TransitGatewayPeering |
withTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway.
|
TransitGatewayPeering |
withTransitGatewayPeeringAttachmentId(String transitGatewayPeeringAttachmentId)
The ID of the transit gateway peering attachment.
|
public void setPeering(Peering peering)
Describes a transit gateway peer connection.
peering
- Describes a transit gateway peer connection.public Peering getPeering()
Describes a transit gateway peer connection.
public TransitGatewayPeering withPeering(Peering peering)
Describes a transit gateway peer connection.
peering
- Describes a transit gateway peer connection.public void setTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway.
transitGatewayArn
- The ARN of the transit gateway.public String getTransitGatewayArn()
The ARN of the transit gateway.
public TransitGatewayPeering withTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway.
transitGatewayArn
- The ARN of the transit gateway.public void setTransitGatewayPeeringAttachmentId(String transitGatewayPeeringAttachmentId)
The ID of the transit gateway peering attachment.
transitGatewayPeeringAttachmentId
- The ID of the transit gateway peering attachment.public String getTransitGatewayPeeringAttachmentId()
The ID of the transit gateway peering attachment.
public TransitGatewayPeering withTransitGatewayPeeringAttachmentId(String transitGatewayPeeringAttachmentId)
The ID of the transit gateway peering attachment.
transitGatewayPeeringAttachmentId
- The ID of the transit gateway peering attachment.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayPeering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.