Interface TransitGatewayOptions.Builder

  • Method Details

    • amazonSideAsn

      TransitGatewayOptions.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.

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

      TransitGatewayOptions.Builder transitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)

      The transit gateway CIDR blocks.

      Parameters:
      transitGatewayCidrBlocks - The transit gateway CIDR blocks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transitGatewayCidrBlocks

      TransitGatewayOptions.Builder transitGatewayCidrBlocks(String... transitGatewayCidrBlocks)

      The transit gateway CIDR blocks.

      Parameters:
      transitGatewayCidrBlocks - The transit gateway CIDR blocks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoAcceptSharedAttachments

      TransitGatewayOptions.Builder autoAcceptSharedAttachments(String autoAcceptSharedAttachments)

      Indicates whether attachment requests are automatically accepted.

      Parameters:
      autoAcceptSharedAttachments - Indicates whether attachment requests are automatically accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoAcceptSharedAttachments

      TransitGatewayOptions.Builder autoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)

      Indicates whether attachment requests are automatically accepted.

      Parameters:
      autoAcceptSharedAttachments - Indicates whether attachment requests are automatically accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultRouteTableAssociation

      TransitGatewayOptions.Builder defaultRouteTableAssociation(String defaultRouteTableAssociation)

      Indicates whether resource attachments are automatically associated with the default association route table. Enabled by default. If defaultRouteTableAssociation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.

      Parameters:
      defaultRouteTableAssociation - Indicates whether resource attachments are automatically associated with the default association route table. Enabled by default. If defaultRouteTableAssociation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultRouteTableAssociation

      TransitGatewayOptions.Builder defaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)

      Indicates whether resource attachments are automatically associated with the default association route table. Enabled by default. If defaultRouteTableAssociation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.

      Parameters:
      defaultRouteTableAssociation - Indicates whether resource attachments are automatically associated with the default association route table. Enabled by default. If defaultRouteTableAssociation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationDefaultRouteTableId

      TransitGatewayOptions.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

      TransitGatewayOptions.Builder defaultRouteTablePropagation(String defaultRouteTablePropagation)

      Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If defaultRouteTablePropagation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.

      Parameters:
      defaultRouteTablePropagation - Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If defaultRouteTablePropagation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultRouteTablePropagation

      TransitGatewayOptions.Builder defaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)

      Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If defaultRouteTablePropagation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.

      Parameters:
      defaultRouteTablePropagation - Indicates whether resource attachments automatically propagate routes to the default propagation route table. Enabled by default. If defaultRouteTablePropagation is set to enable, Amazon Web Services Transit Gateway will create the default transit gateway route table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propagationDefaultRouteTableId

      TransitGatewayOptions.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.
    • vpnEcmpSupport

      TransitGatewayOptions.Builder vpnEcmpSupport(String vpnEcmpSupport)

      Indicates whether Equal Cost Multipath Protocol support is enabled.

      Parameters:
      vpnEcmpSupport - Indicates whether Equal Cost Multipath Protocol support is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpnEcmpSupport

      TransitGatewayOptions.Builder vpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)

      Indicates whether Equal Cost Multipath Protocol support is enabled.

      Parameters:
      vpnEcmpSupport - Indicates whether Equal Cost Multipath Protocol support is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dnsSupport

      TransitGatewayOptions.Builder dnsSupport(String dnsSupport)

      Indicates whether DNS support is enabled.

      Parameters:
      dnsSupport - Indicates whether DNS support is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dnsSupport

      Indicates whether DNS support is enabled.

      Parameters:
      dnsSupport - Indicates whether DNS support is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • securityGroupReferencingSupport

      TransitGatewayOptions.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.

      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.

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

      TransitGatewayOptions.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.

      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.

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

      TransitGatewayOptions.Builder multicastSupport(String multicastSupport)

      Indicates whether multicast is enabled on the transit gateway

      Parameters:
      multicastSupport - Indicates whether multicast is enabled on the transit gateway
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • multicastSupport

      TransitGatewayOptions.Builder multicastSupport(MulticastSupportValue multicastSupport)

      Indicates whether multicast is enabled on the transit gateway

      Parameters:
      multicastSupport - Indicates whether multicast is enabled on the transit gateway
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: