@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.
|
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 |
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 |
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 |
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 |
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 |
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.VpnEcmpSupportValuepublic String getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
VpnEcmpSupportValuepublic ModifyTransitGatewayOptions withVpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValuepublic ModifyTransitGatewayOptions withVpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support.VpnEcmpSupportValuepublic void setDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport - Enable or disable DNS support.DnsSupportValuepublic String getDnsSupport()
Enable or disable DNS support.
DnsSupportValuepublic ModifyTransitGatewayOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support.
dnsSupport - Enable or disable DNS support.DnsSupportValuepublic ModifyTransitGatewayOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
dnsSupport - Enable or disable DNS support.DnsSupportValuepublic void setAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests.AutoAcceptSharedAttachmentsValuepublic String getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests.
AutoAcceptSharedAttachmentsValuepublic ModifyTransitGatewayOptions withAutoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests.AutoAcceptSharedAttachmentsValuepublic ModifyTransitGatewayOptions withAutoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
autoAcceptSharedAttachments - Enable or disable automatic acceptance of attachment requests.AutoAcceptSharedAttachmentsValuepublic 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.DefaultRouteTableAssociationValuepublic String getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table.
DefaultRouteTableAssociationValuepublic 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.DefaultRouteTableAssociationValuepublic 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.DefaultRouteTableAssociationValuepublic 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.DefaultRouteTablePropagationValuepublic String getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table.
DefaultRouteTablePropagationValuepublic 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.DefaultRouteTablePropagationValuepublic 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.DefaultRouteTablePropagationValuepublic 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 String toString()
toString in class ObjectObject.toString()public ModifyTransitGatewayOptions clone()