@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2TransitGatewayDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Web Services Amazon EC2 Transit Gateway that interconnects virtual private clouds (VPCs) and on-premises networks.
Constructor and Description |
---|
AwsEc2TransitGatewayDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2TransitGatewayDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
String |
getAssociationDefaultRouteTableId()
The ID of the default association route table.
|
String |
getAutoAcceptSharedAttachments()
Turn on or turn off automatic acceptance of attachment requests.
|
String |
getDefaultRouteTableAssociation()
Turn on or turn off automatic association with the default association route table.
|
String |
getDefaultRouteTablePropagation()
Turn on or turn off automatic propagation of routes to the default propagation route table.
|
String |
getDescription()
The description of the transit gateway.
|
String |
getDnsSupport()
Turn on or turn off DNS support.
|
String |
getId()
The ID of the transit gateway.
|
String |
getMulticastSupport()
Indicates whether multicast is supported on the transit gateway.
|
String |
getPropagationDefaultRouteTableId()
The ID of the default propagation route table.
|
List<String> |
getTransitGatewayCidrBlocks()
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
|
String |
getVpnEcmpSupport()
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmazonSideAsn(Integer amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
void |
setAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
|
void |
setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Turn on or turn off automatic acceptance of attachment requests.
|
void |
setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Turn on or turn off automatic association with the default association route table.
|
void |
setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Turn on or turn off automatic propagation of routes to the default propagation route table.
|
void |
setDescription(String description)
The description of the transit gateway.
|
void |
setDnsSupport(String dnsSupport)
Turn on or turn off DNS support.
|
void |
setId(String id)
The ID of the transit gateway.
|
void |
setMulticastSupport(String multicastSupport)
Indicates whether multicast is supported on the transit gateway.
|
void |
setPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
void |
setTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
|
void |
setVpnEcmpSupport(String vpnEcmpSupport)
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2TransitGatewayDetails |
withAmazonSideAsn(Integer amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
AwsEc2TransitGatewayDetails |
withAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
|
AwsEc2TransitGatewayDetails |
withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Turn on or turn off automatic acceptance of attachment requests.
|
AwsEc2TransitGatewayDetails |
withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Turn on or turn off automatic association with the default association route table.
|
AwsEc2TransitGatewayDetails |
withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Turn on or turn off automatic propagation of routes to the default propagation route table.
|
AwsEc2TransitGatewayDetails |
withDescription(String description)
The description of the transit gateway.
|
AwsEc2TransitGatewayDetails |
withDnsSupport(String dnsSupport)
Turn on or turn off DNS support.
|
AwsEc2TransitGatewayDetails |
withId(String id)
The ID of the transit gateway.
|
AwsEc2TransitGatewayDetails |
withMulticastSupport(String multicastSupport)
Indicates whether multicast is supported on the transit gateway.
|
AwsEc2TransitGatewayDetails |
withPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
AwsEc2TransitGatewayDetails |
withTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
|
AwsEc2TransitGatewayDetails |
withTransitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
|
AwsEc2TransitGatewayDetails |
withVpnEcmpSupport(String vpnEcmpSupport)
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
|
public void setId(String id)
The ID of the transit gateway.
id
- The ID of the transit gateway.public String getId()
The ID of the transit gateway.
public AwsEc2TransitGatewayDetails withId(String id)
The ID of the transit gateway.
id
- The ID of the transit gateway.public void setDescription(String description)
The description of the transit gateway.
description
- The description of the transit gateway.public String getDescription()
The description of the transit gateway.
public AwsEc2TransitGatewayDetails withDescription(String description)
The description of the transit gateway.
description
- The description of the transit gateway.public void setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Turn on or turn off automatic propagation of routes to the default propagation route table.
defaultRouteTablePropagation
- Turn on or turn off automatic propagation of routes to the default propagation route table.public String getDefaultRouteTablePropagation()
Turn on or turn off automatic propagation of routes to the default propagation route table.
public AwsEc2TransitGatewayDetails withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Turn on or turn off automatic propagation of routes to the default propagation route table.
defaultRouteTablePropagation
- Turn on or turn off automatic propagation of routes to the default propagation route table.public void setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Turn on or turn off automatic acceptance of attachment requests.
autoAcceptSharedAttachments
- Turn on or turn off automatic acceptance of attachment requests.public String getAutoAcceptSharedAttachments()
Turn on or turn off automatic acceptance of attachment requests.
public AwsEc2TransitGatewayDetails withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Turn on or turn off automatic acceptance of attachment requests.
autoAcceptSharedAttachments
- Turn on or turn off automatic acceptance of attachment requests.public void setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Turn on or turn off automatic association with the default association route table.
defaultRouteTableAssociation
- Turn on or turn off automatic association with the default association route table.public String getDefaultRouteTableAssociation()
Turn on or turn off automatic association with the default association route table.
public AwsEc2TransitGatewayDetails withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Turn on or turn off automatic association with the default association route table.
defaultRouteTableAssociation
- Turn on or turn off automatic association with the default association route table.public List<String> getTransitGatewayCidrBlocks()
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
public void setTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
transitGatewayCidrBlocks
- The transit gateway Classless Inter-Domain Routing (CIDR) blocks.public AwsEc2TransitGatewayDetails withTransitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayCidrBlocks(java.util.Collection)
or
withTransitGatewayCidrBlocks(java.util.Collection)
if you want to override the existing values.
transitGatewayCidrBlocks
- The transit gateway Classless Inter-Domain Routing (CIDR) blocks.public AwsEc2TransitGatewayDetails withTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway Classless Inter-Domain Routing (CIDR) blocks.
transitGatewayCidrBlocks
- The transit gateway Classless Inter-Domain Routing (CIDR) blocks.public void setAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
associationDefaultRouteTableId
- The ID of the default association route table.public String getAssociationDefaultRouteTableId()
The ID of the default association route table.
public AwsEc2TransitGatewayDetails withAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
associationDefaultRouteTableId
- The ID of the default association route table.public void setPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
propagationDefaultRouteTableId
- The ID of the default propagation route table.public String getPropagationDefaultRouteTableId()
The ID of the default propagation route table.
public AwsEc2TransitGatewayDetails withPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
propagationDefaultRouteTableId
- The ID of the default propagation route table.public void setVpnEcmpSupport(String vpnEcmpSupport)
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
vpnEcmpSupport
- Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.public String getVpnEcmpSupport()
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
public AwsEc2TransitGatewayDetails withVpnEcmpSupport(String vpnEcmpSupport)
Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.
vpnEcmpSupport
- Turn on or turn off Equal Cost Multipath Protocol (ECMP) support.public void setDnsSupport(String dnsSupport)
Turn on or turn off DNS support.
dnsSupport
- Turn on or turn off DNS support.public String getDnsSupport()
Turn on or turn off DNS support.
public AwsEc2TransitGatewayDetails withDnsSupport(String dnsSupport)
Turn on or turn off DNS support.
dnsSupport
- Turn on or turn off DNS support.public void setMulticastSupport(String multicastSupport)
Indicates whether multicast is supported on the transit gateway.
multicastSupport
- Indicates whether multicast is supported on the transit gateway.public String getMulticastSupport()
Indicates whether multicast is supported on the transit gateway.
public AwsEc2TransitGatewayDetails withMulticastSupport(String multicastSupport)
Indicates whether multicast is supported on the transit gateway.
multicastSupport
- Indicates whether multicast is supported on the transit gateway.public void setAmazonSideAsn(Integer amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
amazonSideAsn
- A private Autonomous System Number (ASN) for the Amazon side of a BGP session.public Integer getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
public AwsEc2TransitGatewayDetails withAmazonSideAsn(Integer amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
amazonSideAsn
- A private Autonomous System Number (ASN) for the Amazon side of a BGP session.public String toString()
toString
in class Object
Object.toString()
public AwsEc2TransitGatewayDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.