@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 |
getMulticastSupport()
Indicates whether multicast is enabled on the transit gateway
|
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 |
setMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
|
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 |
withMulticastSupport(MulticastSupportValue multicastSupport)
Indicates whether multicast is enabled on the transit gateway
|
TransitGatewayRequestOptions |
withMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
|
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
.AutoAcceptSharedAttachmentsValue
public String getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests. The default is disable
.
disable
.AutoAcceptSharedAttachmentsValue
public 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
.AutoAcceptSharedAttachmentsValue
public 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
.AutoAcceptSharedAttachmentsValue
public 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
.DefaultRouteTableAssociationValue
public String getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table. The default is
enable
.
enable
.DefaultRouteTableAssociationValue
public 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
.DefaultRouteTableAssociationValue
public 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
.DefaultRouteTableAssociationValue
public 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
.DefaultRouteTablePropagationValue
public String getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable
.
enable
.DefaultRouteTablePropagationValue
public 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
.DefaultRouteTablePropagationValue
public 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
.DefaultRouteTablePropagationValue
public void setVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport
- Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValue
public String getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
VpnEcmpSupportValue
public TransitGatewayRequestOptions withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport
- Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValue
public TransitGatewayRequestOptions withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport
- Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValue
public void setDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport
- Enable or disable DNS support.DnsSupportValue
public String getDnsSupport()
Enable or disable DNS support.
DnsSupportValue
public TransitGatewayRequestOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport
- Enable or disable DNS support.DnsSupportValue
public TransitGatewayRequestOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
dnsSupport
- Enable or disable DNS support.DnsSupportValue
public void setMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport
- Indicates whether multicast is enabled on the transit gatewayMulticastSupportValue
public String getMulticastSupport()
Indicates whether multicast is enabled on the transit gateway
MulticastSupportValue
public TransitGatewayRequestOptions withMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport
- Indicates whether multicast is enabled on the transit gatewayMulticastSupportValue
public TransitGatewayRequestOptions withMulticastSupport(MulticastSupportValue multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport
- Indicates whether multicast is enabled on the transit gatewayMulticastSupportValue
public String toString()
toString
in class Object
Object.toString()
public TransitGatewayRequestOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.