@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 |
getCoreNetworkId()
The ID of the core network where the transit gateway peer is located.
|
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 |
setCoreNetworkId(String coreNetworkId)
The ID of the core network where the transit gateway peer is located.
|
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 |
withCoreNetworkId(String coreNetworkId)
The ID of the core network where the transit gateway peer is located.
|
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 setCoreNetworkId(String coreNetworkId)
The ID of the core network where the transit gateway peer is located.
coreNetworkId
- The ID of the core network where the transit gateway peer is located.public String getCoreNetworkId()
The ID of the core network where the transit gateway peer is located.
public PeeringTgwInfo withCoreNetworkId(String coreNetworkId)
The ID of the core network where the transit gateway peer is located.
coreNetworkId
- The ID of the core network where the transit gateway peer is located.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()