@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PeeringTgwInfo extends Object implements Serializable, Cloneable
Information about the transit gateway in the peering attachment.
Constructor and Description |
---|
PeeringTgwInfo() |
Modifier and Type | Method and Description |
---|---|
PeeringTgwInfo |
clone() |
boolean |
equals(Object obj) |
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the transit gateway.
|
String |
getRegion()
The Region of the transit gateway.
|
String |
getTransitGatewayId()
The ID of the transit gateway.
|
int |
hashCode() |
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
|
void |
setRegion(String region)
The Region of the transit gateway.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
String |
toString()
Returns a string representation of this object.
|
PeeringTgwInfo |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
|
PeeringTgwInfo |
withRegion(String region)
The Region of the transit gateway.
|
PeeringTgwInfo |
withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
public void setTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public String getTransitGatewayId()
The ID of the transit gateway.
public PeeringTgwInfo withTransitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
ownerId
- The ID of the Amazon Web Services account that owns the transit gateway.public String getOwnerId()
The ID of the Amazon Web Services account that owns the transit gateway.
public PeeringTgwInfo withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the transit gateway.
ownerId
- The ID of the Amazon Web Services account that owns the transit gateway.public void setRegion(String region)
The Region of the transit gateway.
region
- The Region of the transit gateway.public String getRegion()
The Region of the transit gateway.
public PeeringTgwInfo withRegion(String region)
The Region of the transit gateway.
region
- The Region of the transit gateway.public String toString()
toString
in class Object
Object.toString()
public PeeringTgwInfo clone()