@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.AutoAcceptSharedAttachmentsValue
public String getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests. Disabled by default.
AutoAcceptSharedAttachmentsValue
public 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.AutoAcceptSharedAttachmentsValue
public 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.AutoAcceptSharedAttachmentsValue
public 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.DefaultRouteTableAssociationValue
public String getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table. Enabled by default.
DefaultRouteTableAssociationValue
public 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.DefaultRouteTableAssociationValue
public 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.DefaultRouteTableAssociationValue
public 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.DefaultRouteTablePropagationValue
public String getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
DefaultRouteTablePropagationValue
public 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.DefaultRouteTablePropagationValue
public 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.DefaultRouteTablePropagationValue
public 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.VpnEcmpSupportValue
public String getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
VpnEcmpSupportValue
public 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.VpnEcmpSupportValue
public 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.VpnEcmpSupportValue
public void setDnsSupport(String dnsSupport)
Enable or disable DNS support. Enabled by default.
dnsSupport
- Enable or disable DNS support. Enabled by default.DnsSupportValue
public String getDnsSupport()
Enable or disable DNS support. Enabled by default.
DnsSupportValue
public TransitGatewayRequestOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support. Enabled by default.
dnsSupport
- Enable or disable DNS support. Enabled by default.DnsSupportValue
public TransitGatewayRequestOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support. Enabled by default.
dnsSupport
- Enable or disable DNS support. Enabled by default.DnsSupportValue
public 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.
SecurityGroupReferencingSupportValue
public 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.
SecurityGroupReferencingSupportValue
public 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.
SecurityGroupReferencingSupportValue
public 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.
SecurityGroupReferencingSupportValue
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 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 Object
Object.toString()
public TransitGatewayRequestOptions clone()