Interface ModifyTransitGatewayOptions.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ModifyTransitGatewayOptions.Builder,ModifyTransitGatewayOptions>
,SdkBuilder<ModifyTransitGatewayOptions.Builder,ModifyTransitGatewayOptions>
,SdkPojo
- Enclosing class:
- ModifyTransitGatewayOptions
public static interface ModifyTransitGatewayOptions.Builder extends SdkPojo, CopyableBuilder<ModifyTransitGatewayOptions.Builder,ModifyTransitGatewayOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyTransitGatewayOptions.Builder
addTransitGatewayCidrBlocks(String... addTransitGatewayCidrBlocks)
Adds IPv4 or IPv6 CIDR blocks for the transit gateway.ModifyTransitGatewayOptions.Builder
addTransitGatewayCidrBlocks(Collection<String> addTransitGatewayCidrBlocks)
Adds IPv4 or IPv6 CIDR blocks for the transit gateway.ModifyTransitGatewayOptions.Builder
amazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.ModifyTransitGatewayOptions.Builder
associationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.ModifyTransitGatewayOptions.Builder
autoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.ModifyTransitGatewayOptions.Builder
autoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.ModifyTransitGatewayOptions.Builder
defaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.ModifyTransitGatewayOptions.Builder
defaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.ModifyTransitGatewayOptions.Builder
defaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.ModifyTransitGatewayOptions.Builder
defaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.ModifyTransitGatewayOptions.Builder
dnsSupport(String dnsSupport)
Enable or disable DNS support.ModifyTransitGatewayOptions.Builder
dnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.ModifyTransitGatewayOptions.Builder
propagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.ModifyTransitGatewayOptions.Builder
removeTransitGatewayCidrBlocks(String... removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.ModifyTransitGatewayOptions.Builder
removeTransitGatewayCidrBlocks(Collection<String> removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.ModifyTransitGatewayOptions.Builder
securityGroupReferencingSupport(String securityGroupReferencingSupport)
ModifyTransitGatewayOptions.Builder
securityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
ModifyTransitGatewayOptions.Builder
vpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.ModifyTransitGatewayOptions.Builder
vpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
addTransitGatewayCidrBlocks
ModifyTransitGatewayOptions.Builder addTransitGatewayCidrBlocks(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTransitGatewayCidrBlocks
ModifyTransitGatewayOptions.Builder addTransitGatewayCidrBlocks(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeTransitGatewayCidrBlocks
ModifyTransitGatewayOptions.Builder removeTransitGatewayCidrBlocks(Collection<String> removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
- Parameters:
removeTransitGatewayCidrBlocks
- Removes CIDR blocks for the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeTransitGatewayCidrBlocks
ModifyTransitGatewayOptions.Builder removeTransitGatewayCidrBlocks(String... removeTransitGatewayCidrBlocks)
Removes CIDR blocks for the transit gateway.
- Parameters:
removeTransitGatewayCidrBlocks
- Removes CIDR blocks for the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnEcmpSupport
ModifyTransitGatewayOptions.Builder vpnEcmpSupport(String vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
- Parameters:
vpnEcmpSupport
- Enable or disable Equal Cost Multipath Protocol support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpnEcmpSupportValue
,VpnEcmpSupportValue
-
vpnEcmpSupport
ModifyTransitGatewayOptions.Builder vpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Enable or disable Equal Cost Multipath Protocol support.
- Parameters:
vpnEcmpSupport
- Enable or disable Equal Cost Multipath Protocol support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpnEcmpSupportValue
,VpnEcmpSupportValue
-
dnsSupport
ModifyTransitGatewayOptions.Builder dnsSupport(String dnsSupport)
Enable or disable DNS support.
- Parameters:
dnsSupport
- Enable or disable DNS support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsSupportValue
,DnsSupportValue
-
dnsSupport
ModifyTransitGatewayOptions.Builder dnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
- Parameters:
dnsSupport
- Enable or disable DNS support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsSupportValue
,DnsSupportValue
-
securityGroupReferencingSupport
ModifyTransitGatewayOptions.Builder securityGroupReferencingSupport(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityGroupReferencingSupportValue
,SecurityGroupReferencingSupportValue
-
securityGroupReferencingSupport
ModifyTransitGatewayOptions.Builder securityGroupReferencingSupport(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityGroupReferencingSupportValue
,SecurityGroupReferencingSupportValue
-
autoAcceptSharedAttachments
ModifyTransitGatewayOptions.Builder autoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
- Parameters:
autoAcceptSharedAttachments
- Enable or disable automatic acceptance of attachment requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoAcceptSharedAttachmentsValue
,AutoAcceptSharedAttachmentsValue
-
autoAcceptSharedAttachments
ModifyTransitGatewayOptions.Builder autoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Enable or disable automatic acceptance of attachment requests.
- Parameters:
autoAcceptSharedAttachments
- Enable or disable automatic acceptance of attachment requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoAcceptSharedAttachmentsValue
,AutoAcceptSharedAttachmentsValue
-
defaultRouteTableAssociation
ModifyTransitGatewayOptions.Builder defaultRouteTableAssociation(String defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
- Parameters:
defaultRouteTableAssociation
- Enable or disable automatic association with the default association route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTableAssociationValue
,DefaultRouteTableAssociationValue
-
defaultRouteTableAssociation
ModifyTransitGatewayOptions.Builder defaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Enable or disable automatic association with the default association route table.
- Parameters:
defaultRouteTableAssociation
- Enable or disable automatic association with the default association route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTableAssociationValue
,DefaultRouteTableAssociationValue
-
associationDefaultRouteTableId
ModifyTransitGatewayOptions.Builder associationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
- Parameters:
associationDefaultRouteTableId
- The ID of the default association route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRouteTablePropagation
ModifyTransitGatewayOptions.Builder defaultRouteTablePropagation(String defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
- Parameters:
defaultRouteTablePropagation
- Enable or disable automatic propagation of routes to the default propagation route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTablePropagationValue
,DefaultRouteTablePropagationValue
-
defaultRouteTablePropagation
ModifyTransitGatewayOptions.Builder defaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Enable or disable automatic propagation of routes to the default propagation route table.
- Parameters:
defaultRouteTablePropagation
- Enable or disable automatic propagation of routes to the default propagation route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTablePropagationValue
,DefaultRouteTablePropagationValue
-
propagationDefaultRouteTableId
ModifyTransitGatewayOptions.Builder propagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
- Parameters:
propagationDefaultRouteTableId
- The ID of the default propagation route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonSideAsn
ModifyTransitGatewayOptions.Builder amazonSideAsn(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-