@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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPeering(Peering peering)
Describes a transit gateway peer connection.
|
void |
setTransitGatewayArn(String transitGatewayArn)
The ARN of the transit gateway.
|
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.
|
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 String toString()
toString in class ObjectObject.toString()public TransitGatewayPeering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.