@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyTransitGatewayOptions extends Object implements Serializable, Cloneable
The transit gateway options.
Constructor and Description |
---|
ModifyTransitGatewayOptions() |
Modifier and Type | Method and Description |
---|---|
ModifyTransitGatewayOptions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAddTransitGatewayCidrBlocks()
Adds IPv4 or IPv6 CIDR blocks for the transit gateway.
|
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()
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 |
getPropagationDefaultRouteTableId()
The ID of the default propagation route table.
|
List<String> |
getRemoveTransitGatewayCidrBlocks()
Removes CIDR blocks for the transit gateway.
|
String |
getSecurityGroupReferencingSupport()
|
String |
getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
|
int |
hashCode() |
void |
setAddTransitGatewayCidrBlocks(Collection<String> addTransitGatewayCidrBlocks)
Adds IPv4 or IPv6 CIDR blocks for the transit gateway.
|
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)
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 |
setPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
void |
setRemoveTransitGatewayCidrBlocks(Collection<String> removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
|
void |
setSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
|
void |
setVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
|
String |
toString()
Returns a string representation of this object.
|
ModifyTransitGatewayOptions |
withAddTransitGatewayCidrBlocks(Collection<String> addTransitGatewayCidrBlocks)
Adds IPv4 or IPv6 CIDR blocks for the transit gateway.
|
ModifyTransitGatewayOptions |
withAddTransitGatewayCidrBlocks(String... addTransitGatewayCidrBlocks)
Adds IPv4 or IPv6 CIDR blocks for the transit gateway.
|
ModifyTransitGatewayOptions |
withAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
ModifyTransitGatewayOptions |
withAssociationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
|
ModifyTransitGatewayOptions |
withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
|
ModifyTransitGatewayOptions |
withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
|
ModifyTransitGatewayOptions |
withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
|
ModifyTransitGatewayOptions |
withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
|
ModifyTransitGatewayOptions |
withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
|
ModifyTransitGatewayOptions |
withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
|
ModifyTransitGatewayOptions |
withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
|
ModifyTransitGatewayOptions |
withDnsSupport(String dnsSupport)
Enable or disable DNS support.
|
ModifyTransitGatewayOptions |
withPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
|
ModifyTransitGatewayOptions |
withRemoveTransitGatewayCidrBlocks(Collection<String> removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
|
ModifyTransitGatewayOptions |
withRemoveTransitGatewayCidrBlocks(String... removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
|
ModifyTransitGatewayOptions |
withSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
|
ModifyTransitGatewayOptions |
withSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
|
ModifyTransitGatewayOptions |
withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
|
ModifyTransitGatewayOptions |
withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
|
public List<String> getAddTransitGatewayCidrBlocks()
Adds 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 setAddTransitGatewayCidrBlocks(Collection<String> addTransitGatewayCidrBlocks)
Adds 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.
addTransitGatewayCidrBlocks
- Adds 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 ModifyTransitGatewayOptions withAddTransitGatewayCidrBlocks(String... addTransitGatewayCidrBlocks)
Adds 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
setAddTransitGatewayCidrBlocks(java.util.Collection)
or
withAddTransitGatewayCidrBlocks(java.util.Collection)
if you want to override the existing values.
addTransitGatewayCidrBlocks
- Adds 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 ModifyTransitGatewayOptions withAddTransitGatewayCidrBlocks(Collection<String> addTransitGatewayCidrBlocks)
Adds 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.
addTransitGatewayCidrBlocks
- Adds 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 List<String> getRemoveTransitGatewayCidrBlocks()
Removes CIDR blocks for the transit gateway.
public void setRemoveTransitGatewayCidrBlocks(Collection<String> removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
removeTransitGatewayCidrBlocks
- Removes CIDR blocks for the transit gateway.public ModifyTransitGatewayOptions withRemoveTransitGatewayCidrBlocks(String... removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveTransitGatewayCidrBlocks(java.util.Collection)
or
withRemoveTransitGatewayCidrBlocks(java.util.Collection)
if you want to override the existing values.
removeTransitGatewayCidrBlocks
- Removes CIDR blocks for the transit gateway.public ModifyTransitGatewayOptions withRemoveTransitGatewayCidrBlocks(Collection<String> removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
removeTransitGatewayCidrBlocks
- Removes CIDR blocks for the transit gateway.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 ModifyTransitGatewayOptions withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport
- Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValue
public ModifyTransitGatewayOptions 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 ModifyTransitGatewayOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport
- Enable or disable DNS support.DnsSupportValue
public ModifyTransitGatewayOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
dnsSupport
- Enable or disable DNS support.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 ModifyTransitGatewayOptions 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 ModifyTransitGatewayOptions 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 setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
autoAcceptSharedAttachments
- Enable or disable automatic acceptance of attachment requests.AutoAcceptSharedAttachmentsValue
public String getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests.
AutoAcceptSharedAttachmentsValue
public ModifyTransitGatewayOptions withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
autoAcceptSharedAttachments
- Enable or disable automatic acceptance of attachment requests.AutoAcceptSharedAttachmentsValue
public ModifyTransitGatewayOptions withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
autoAcceptSharedAttachments
- Enable or disable automatic acceptance of attachment requests.AutoAcceptSharedAttachmentsValue
public void setDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
defaultRouteTableAssociation
- Enable or disable automatic association with the default association route table.DefaultRouteTableAssociationValue
public String getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table.
DefaultRouteTableAssociationValue
public ModifyTransitGatewayOptions withDefaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
defaultRouteTableAssociation
- Enable or disable automatic association with the default association route table.DefaultRouteTableAssociationValue
public ModifyTransitGatewayOptions withDefaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
defaultRouteTableAssociation
- Enable or disable automatic association 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 ModifyTransitGatewayOptions 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)
Enable or disable automatic propagation of routes to the default propagation route table.
defaultRouteTablePropagation
- Enable or disable automatic propagation of routes to the default propagation route table.DefaultRouteTablePropagationValue
public String getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table.
DefaultRouteTablePropagationValue
public ModifyTransitGatewayOptions withDefaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
defaultRouteTablePropagation
- Enable or disable automatic propagation of routes to the default propagation route table.DefaultRouteTablePropagationValue
public ModifyTransitGatewayOptions withDefaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
defaultRouteTablePropagation
- Enable or disable automatic propagation of 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 ModifyTransitGatewayOptions withPropagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
propagationDefaultRouteTableId
- The ID of the default propagation route table.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 modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.
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 modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.
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 modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.
The modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.
public ModifyTransitGatewayOptions 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 modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.
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 modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.
public String toString()
toString
in class Object
Object.toString()
public ModifyTransitGatewayOptions clone()