@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 |
getSecurityGroupReferencingSupport()
|
List<String> |
getTransitGatewayCidrBlocks()
One or more IPv4 or IPv6 CIDR blocks for 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 |
setSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
|
void |
setTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
One or more IPv4 or IPv6 CIDR blocks for 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 |
withSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
|
TransitGatewayRequestOptions |
withSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
|
TransitGatewayRequestOptions |
withTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
One or more IPv4 or IPv6 CIDR blocks for the transit gateway.
|
TransitGatewayRequestOptions |
withTransitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
One or more IPv4 or IPv6 CIDR blocks for 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. The default is 64512.
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. The default is 64512.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. The default is 64512.
64512.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. The default is 64512.
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. The default is 64512.public void setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests. Disabled by default.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests. Disabled by default.AutoAcceptSharedAttachmentsValuepublic String getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests. Disabled by default.
AutoAcceptSharedAttachmentsValuepublic TransitGatewayRequestOptions withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests. Disabled by default.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests. Disabled by default.AutoAcceptSharedAttachmentsValuepublic TransitGatewayRequestOptions withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests. Disabled by default.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests. Disabled by default.AutoAcceptSharedAttachmentsValuepublic void setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table. Enabled by default.
defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. Enabled by default.DefaultRouteTableAssociationValuepublic String getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table. Enabled by default.
DefaultRouteTableAssociationValuepublic TransitGatewayRequestOptions withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table. Enabled by default.
defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. Enabled by default.DefaultRouteTableAssociationValuepublic TransitGatewayRequestOptions withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table. Enabled by default.
defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. Enabled by default.DefaultRouteTableAssociationValuepublic void setDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by
default.DefaultRouteTablePropagationValuepublic String getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
DefaultRouteTablePropagationValuepublic TransitGatewayRequestOptions withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by
default.DefaultRouteTablePropagationValuepublic TransitGatewayRequestOptions withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by
default.DefaultRouteTablePropagationValuepublic void setVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.VpnEcmpSupportValuepublic String getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
VpnEcmpSupportValuepublic TransitGatewayRequestOptions withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.VpnEcmpSupportValuepublic TransitGatewayRequestOptions withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.VpnEcmpSupportValuepublic void setDnsSupport(String dnsSupport)
Enable or disable DNS support. Enabled by default.
dnsSupport - Enable or disable DNS support. Enabled by default.DnsSupportValuepublic String getDnsSupport()
Enable or disable DNS support. Enabled by default.
DnsSupportValuepublic TransitGatewayRequestOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support. Enabled by default.
dnsSupport - Enable or disable DNS support. Enabled by default.DnsSupportValuepublic TransitGatewayRequestOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support. Enabled by default.
dnsSupport - Enable or disable DNS support. Enabled by default.DnsSupportValuepublic void setSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
securityGroupReferencingSupport - This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
SecurityGroupReferencingSupportValuepublic String getSecurityGroupReferencingSupport()
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
SecurityGroupReferencingSupportValuepublic TransitGatewayRequestOptions withSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
securityGroupReferencingSupport - This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
SecurityGroupReferencingSupportValuepublic TransitGatewayRequestOptions withSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
securityGroupReferencingSupport - This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
SecurityGroupReferencingSupportValuepublic void setMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport - Indicates whether multicast is enabled on the transit gatewayMulticastSupportValuepublic String getMulticastSupport()
Indicates whether multicast is enabled on the transit gateway
MulticastSupportValuepublic TransitGatewayRequestOptions withMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport - Indicates whether multicast is enabled on the transit gatewayMulticastSupportValuepublic TransitGatewayRequestOptions withMulticastSupport(MulticastSupportValue multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport - Indicates whether multicast is enabled on the transit gatewayMulticastSupportValuepublic List<String> getTransitGatewayCidrBlocks()
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
public void setTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
transitGatewayCidrBlocks - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for
IPv4, or a size /64 CIDR block or larger for IPv6.public TransitGatewayRequestOptions withTransitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
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 - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for
IPv4, or a size /64 CIDR block or larger for IPv6.public TransitGatewayRequestOptions withTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
transitGatewayCidrBlocks - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for
IPv4, or a size /64 CIDR block or larger for IPv6.public String toString()
toString in class ObjectObject.toString()public TransitGatewayRequestOptions clone()