@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayRequestOptions extends Object implements Serializable, Cloneable
Describes the options for a transit gateway.
| Constructor and Description |
|---|
TransitGatewayRequestOptions() |
| Modifier and Type | Method and Description |
|---|---|
TransitGatewayRequestOptions |
clone() |
boolean |
equals(Object obj) |
Long |
getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
String |
getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests.
|
String |
getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table.
|
String |
getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table.
|
String |
getDnsSupport()
Enable or disable DNS support.
|
String |
getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
|
int |
hashCode() |
void |
setAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
void |
setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
|
void |
setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
|
void |
setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
|
void |
setDnsSupport(String dnsSupport)
Enable or disable DNS support.
|
void |
setVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayRequestOptions |
withAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
TransitGatewayRequestOptions |
withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
|
TransitGatewayRequestOptions |
withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
|
TransitGatewayRequestOptions |
withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
|
TransitGatewayRequestOptions |
withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
|
TransitGatewayRequestOptions |
withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
|
TransitGatewayRequestOptions |
withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
|
TransitGatewayRequestOptions |
withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
|
TransitGatewayRequestOptions |
withDnsSupport(String dnsSupport)
Enable or disable DNS support.
|
TransitGatewayRequestOptions |
withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
|
TransitGatewayRequestOptions |
withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
|
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 TransitGatewayRequestOptions 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)
Enable or disable automatic acceptance of attachment requests. The default is disable.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests. The default is disable.AutoAcceptSharedAttachmentsValuepublic String getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests. The default is disable.
disable.AutoAcceptSharedAttachmentsValuepublic TransitGatewayRequestOptions withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests. The default is disable.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests. The default is disable.AutoAcceptSharedAttachmentsValuepublic TransitGatewayRequestOptions withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests. The default is disable.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests. The default is disable.AutoAcceptSharedAttachmentsValuepublic void setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table. The default is
enable.
defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. The default is
enable.DefaultRouteTableAssociationValuepublic String getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table. The default is
enable.
enable.DefaultRouteTableAssociationValuepublic TransitGatewayRequestOptions withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table. The default is
enable.
defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. The default is
enable.DefaultRouteTableAssociationValuepublic TransitGatewayRequestOptions withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table. The default is
enable.
defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. The default is
enable.DefaultRouteTableAssociationValuepublic void setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.
defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.DefaultRouteTablePropagationValuepublic String getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.
enable.DefaultRouteTablePropagationValuepublic TransitGatewayRequestOptions withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.
defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.DefaultRouteTablePropagationValuepublic TransitGatewayRequestOptions withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.
defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable.DefaultRouteTablePropagationValuepublic void setVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValuepublic String getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
VpnEcmpSupportValuepublic TransitGatewayRequestOptions withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValuepublic TransitGatewayRequestOptions withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValuepublic void setDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport - Enable or disable DNS support.DnsSupportValuepublic String getDnsSupport()
Enable or disable DNS support.
DnsSupportValuepublic TransitGatewayRequestOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport - Enable or disable DNS support.DnsSupportValuepublic TransitGatewayRequestOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
dnsSupport - Enable or disable DNS support.DnsSupportValuepublic String toString()
toString in class ObjectObject.toString()public TransitGatewayRequestOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.