Interface ModifyTransitGatewayOptions.Builder

  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • securityGroupReferencingSupport

      ModifyTransitGatewayOptions.Builder securityGroupReferencingSupport(String securityGroupReferencingSupport)

      Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.

      This option is disabled by default.

      For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.

      Parameters:
      securityGroupReferencingSupport - Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.

      This option is disabled by default.

      For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • securityGroupReferencingSupport

      ModifyTransitGatewayOptions.Builder securityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)

      Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.

      This option is disabled by default.

      For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.

      Parameters:
      securityGroupReferencingSupport - Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.

      This option is disabled by default.

      For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 if it has the following attachments:

      • Dynamic VPN

      • Static VPN

      • Direct Connect Gateway

      • Connect

      You must first delete all transit gateway attachments 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 if it has the following attachments:

      • Dynamic VPN

      • Static VPN

      • Direct Connect Gateway

      • Connect

      You must first delete all transit gateway attachments 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.