@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayOptions extends Object implements Serializable, Cloneable
Describes the options for a transit gateway.
| Constructor and Description |
|---|
TransitGatewayOptions() |
| Modifier and Type | Method and Description |
|---|---|
TransitGatewayOptions |
clone() |
boolean |
equals(Object obj) |
Long |
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()
Indicates whether attachment requests are automatically accepted.
|
String |
getDefaultRouteTableAssociation()
Indicates whether resource attachments are automatically associated with the default association route table.
|
String |
getDefaultRouteTablePropagation()
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
|
String |
getDnsSupport()
Indicates whether DNS support is enabled.
|
String |
getPropagationDefaultRouteTableId()
The ID of the default propagation route table.
|
String |
getVpnEcmpSupport()
Indicates whether Equal Cost Multipath Protocol support is enabled.
|
int |
hashCode() |
void |
setAmazonSideAsn(Long 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)
Indicates whether attachment requests are automatically accepted.
|
void |
setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
|
void |
setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
|
void |
setDnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
|
void |
setPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
void |
setVpnEcmpSupport(String vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayOptions |
withAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
TransitGatewayOptions |
withAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
|
TransitGatewayOptions |
withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
|
TransitGatewayOptions |
withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
|
TransitGatewayOptions |
withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
|
TransitGatewayOptions |
withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
|
TransitGatewayOptions |
withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
|
TransitGatewayOptions |
withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
|
TransitGatewayOptions |
withDnsSupport(DnsSupportValue dnsSupport)
Indicates whether DNS support is enabled.
|
TransitGatewayOptions |
withDnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
|
TransitGatewayOptions |
withPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
TransitGatewayOptions |
withVpnEcmpSupport(String vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
|
TransitGatewayOptions |
withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
|
public void setAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
amazonSideAsn - A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534
for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.public Long getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
public TransitGatewayOptions withAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
amazonSideAsn - A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534
for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.public void setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
autoAcceptSharedAttachments - Indicates whether attachment requests are automatically accepted.AutoAcceptSharedAttachmentsValuepublic String getAutoAcceptSharedAttachments()
Indicates whether attachment requests are automatically accepted.
AutoAcceptSharedAttachmentsValuepublic TransitGatewayOptions withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
autoAcceptSharedAttachments - Indicates whether attachment requests are automatically accepted.AutoAcceptSharedAttachmentsValuepublic TransitGatewayOptions withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
autoAcceptSharedAttachments - Indicates whether attachment requests are automatically accepted.AutoAcceptSharedAttachmentsValuepublic void setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
defaultRouteTableAssociation - Indicates whether resource attachments are automatically associated with the default association route
table.DefaultRouteTableAssociationValuepublic String getDefaultRouteTableAssociation()
Indicates whether resource attachments are automatically associated with the default association route table.
DefaultRouteTableAssociationValuepublic TransitGatewayOptions withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
defaultRouteTableAssociation - Indicates whether resource attachments are automatically associated with the default association route
table.DefaultRouteTableAssociationValuepublic TransitGatewayOptions withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
defaultRouteTableAssociation - Indicates whether resource attachments are automatically associated with the default association route
table.DefaultRouteTableAssociationValuepublic 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 TransitGatewayOptions withAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
associationDefaultRouteTableId - The ID of the default association route table.public void setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
defaultRouteTablePropagation - Indicates whether resource attachments automatically propagate routes to the default propagation route
table.DefaultRouteTablePropagationValuepublic String getDefaultRouteTablePropagation()
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
DefaultRouteTablePropagationValuepublic TransitGatewayOptions withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
defaultRouteTablePropagation - Indicates whether resource attachments automatically propagate routes to the default propagation route
table.DefaultRouteTablePropagationValuepublic TransitGatewayOptions withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
defaultRouteTablePropagation - Indicates whether resource attachments automatically propagate routes to the default propagation route
table.DefaultRouteTablePropagationValuepublic 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 TransitGatewayOptions 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)
Indicates whether Equal Cost Multipath Protocol support is enabled.
vpnEcmpSupport - Indicates whether Equal Cost Multipath Protocol support is enabled.VpnEcmpSupportValuepublic String getVpnEcmpSupport()
Indicates whether Equal Cost Multipath Protocol support is enabled.
VpnEcmpSupportValuepublic TransitGatewayOptions withVpnEcmpSupport(String vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
vpnEcmpSupport - Indicates whether Equal Cost Multipath Protocol support is enabled.VpnEcmpSupportValuepublic TransitGatewayOptions withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
vpnEcmpSupport - Indicates whether Equal Cost Multipath Protocol support is enabled.VpnEcmpSupportValuepublic void setDnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
dnsSupport - Indicates whether DNS support is enabled.DnsSupportValuepublic String getDnsSupport()
Indicates whether DNS support is enabled.
DnsSupportValuepublic TransitGatewayOptions withDnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
dnsSupport - Indicates whether DNS support is enabled.DnsSupportValuepublic TransitGatewayOptions withDnsSupport(DnsSupportValue dnsSupport)
Indicates whether DNS support is enabled.
dnsSupport - Indicates whether DNS support is enabled.DnsSupportValuepublic String toString()
toString in class ObjectObject.toString()public TransitGatewayOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.