Interface RouteTableAssociation.Builder

  • Method Details

    • main

      Indicates whether this is the main route table.

      Parameters:
      main - Indicates whether this is the main route table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeTableAssociationId

      RouteTableAssociation.Builder routeTableAssociationId(String routeTableAssociationId)

      The ID of the association.

      Parameters:
      routeTableAssociationId - The ID of the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeTableId

      RouteTableAssociation.Builder routeTableId(String routeTableId)

      The ID of the route table.

      Parameters:
      routeTableId - The ID of the route table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetId

      The ID of the subnet. A subnet ID is not returned for an implicit association.

      Parameters:
      subnetId - The ID of the subnet. A subnet ID is not returned for an implicit association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayId

      RouteTableAssociation.Builder gatewayId(String gatewayId)

      The ID of the internet gateway or virtual private gateway.

      Parameters:
      gatewayId - The ID of the internet gateway or virtual private gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicIpv4Pool

      RouteTableAssociation.Builder publicIpv4Pool(String publicIpv4Pool)

      The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.

      Parameters:
      publicIpv4Pool - The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationState

      RouteTableAssociation.Builder associationState(RouteTableAssociationState associationState)

      The state of the association.

      Parameters:
      associationState - The state of the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationState

      default RouteTableAssociation.Builder associationState(Consumer<RouteTableAssociationState.Builder> associationState)

      The state of the association.

      This is a convenience method that creates an instance of the RouteTableAssociationState.Builder avoiding the need to create one manually via RouteTableAssociationState.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associationState(RouteTableAssociationState).

      Parameters:
      associationState - a consumer that will call methods on RouteTableAssociationState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: