@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 |
getMulticastSupport()
Indicates whether multicast is enabled on the transit gateway
|
String |
getPropagationDefaultRouteTableId()
The ID of the default propagation route table.
|
String |
getSecurityGroupReferencingSupport()
|
List<String> |
getTransitGatewayCidrBlocks()
The transit gateway CIDR blocks.
|
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 |
setMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
|
void |
setPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
void |
setSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
|
void |
setTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
|
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 |
withMulticastSupport(MulticastSupportValue multicastSupport)
Indicates whether multicast is enabled on the transit gateway
|
TransitGatewayOptions |
withMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
|
TransitGatewayOptions |
withPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
TransitGatewayOptions |
withSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
|
TransitGatewayOptions |
withSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
|
TransitGatewayOptions |
withTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
|
TransitGatewayOptions |
withTransitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
|
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 List<String> getTransitGatewayCidrBlocks()
The transit gateway CIDR blocks.
public void setTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
transitGatewayCidrBlocks
- The transit gateway CIDR blocks.public TransitGatewayOptions withTransitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
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
- The transit gateway CIDR blocks.public TransitGatewayOptions withTransitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
transitGatewayCidrBlocks
- The transit gateway CIDR blocks.public void setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
autoAcceptSharedAttachments
- Indicates whether attachment requests are automatically accepted.AutoAcceptSharedAttachmentsValue
public String getAutoAcceptSharedAttachments()
Indicates whether attachment requests are automatically accepted.
AutoAcceptSharedAttachmentsValue
public TransitGatewayOptions withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
autoAcceptSharedAttachments
- Indicates whether attachment requests are automatically accepted.AutoAcceptSharedAttachmentsValue
public TransitGatewayOptions withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
autoAcceptSharedAttachments
- Indicates whether attachment requests are automatically accepted.AutoAcceptSharedAttachmentsValue
public 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.DefaultRouteTableAssociationValue
public String getDefaultRouteTableAssociation()
Indicates whether resource attachments are automatically associated with the default association route table.
DefaultRouteTableAssociationValue
public 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.DefaultRouteTableAssociationValue
public 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.DefaultRouteTableAssociationValue
public 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.DefaultRouteTablePropagationValue
public String getDefaultRouteTablePropagation()
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
DefaultRouteTablePropagationValue
public 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.DefaultRouteTablePropagationValue
public 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.DefaultRouteTablePropagationValue
public 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.VpnEcmpSupportValue
public String getVpnEcmpSupport()
Indicates whether Equal Cost Multipath Protocol support is enabled.
VpnEcmpSupportValue
public TransitGatewayOptions withVpnEcmpSupport(String vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
vpnEcmpSupport
- Indicates whether Equal Cost Multipath Protocol support is enabled.VpnEcmpSupportValue
public TransitGatewayOptions withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
vpnEcmpSupport
- Indicates whether Equal Cost Multipath Protocol support is enabled.VpnEcmpSupportValue
public void setDnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
dnsSupport
- Indicates whether DNS support is enabled.DnsSupportValue
public String getDnsSupport()
Indicates whether DNS support is enabled.
DnsSupportValue
public TransitGatewayOptions withDnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
dnsSupport
- Indicates whether DNS support is enabled.DnsSupportValue
public TransitGatewayOptions withDnsSupport(DnsSupportValue dnsSupport)
Indicates whether DNS support is enabled.
dnsSupport
- Indicates whether DNS support is enabled.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 TransitGatewayOptions 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 TransitGatewayOptions 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 TransitGatewayOptions withMulticastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
multicastSupport
- Indicates whether multicast is enabled on the transit gatewayMulticastSupportValue
public TransitGatewayOptions 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 TransitGatewayOptions clone()