Interface TransitGatewayRequestOptions.Builder

    • Method Detail

      • amazonSideAsn

        TransitGatewayRequestOptions.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 default is 64512.

        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 default is 64512.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultRouteTableAssociation

        TransitGatewayRequestOptions.Builder defaultRouteTableAssociation​(String defaultRouteTableAssociation)

        Enable or disable automatic association with the default association route table. Enabled by default.

        Parameters:
        defaultRouteTableAssociation - Enable or disable automatic association with the default association route table. Enabled by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DefaultRouteTableAssociationValue, DefaultRouteTableAssociationValue
      • defaultRouteTablePropagation

        TransitGatewayRequestOptions.Builder defaultRouteTablePropagation​(String defaultRouteTablePropagation)

        Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.

        Parameters:
        defaultRouteTablePropagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DefaultRouteTablePropagationValue, DefaultRouteTablePropagationValue
      • vpnEcmpSupport

        TransitGatewayRequestOptions.Builder vpnEcmpSupport​(String vpnEcmpSupport)

        Enable or disable Equal Cost Multipath Protocol support. Enabled by default.

        Parameters:
        vpnEcmpSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VpnEcmpSupportValue, VpnEcmpSupportValue
      • securityGroupReferencingSupport

        TransitGatewayRequestOptions.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:
        SecurityGroupReferencingSupportValue, SecurityGroupReferencingSupportValue
      • securityGroupReferencingSupport

        TransitGatewayRequestOptions.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:
        SecurityGroupReferencingSupportValue, SecurityGroupReferencingSupportValue
      • transitGatewayCidrBlocks

        TransitGatewayRequestOptions.Builder transitGatewayCidrBlocks​(Collection<String> transitGatewayCidrBlocks)

        One or more 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:
        transitGatewayCidrBlocks - One or more 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.
      • transitGatewayCidrBlocks

        TransitGatewayRequestOptions.Builder transitGatewayCidrBlocks​(String... transitGatewayCidrBlocks)

        One or more 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:
        transitGatewayCidrBlocks - One or more 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.