Interface CoipPool.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CoipPool.Builder,CoipPool>, SdkBuilder<CoipPool.Builder,CoipPool>, SdkPojo
Enclosing class:
CoipPool

@Mutable @NotThreadSafe public static interface CoipPool.Builder extends SdkPojo, CopyableBuilder<CoipPool.Builder,CoipPool>
  • Method Details

    • poolId

      CoipPool.Builder poolId(String poolId)

      The ID of the address pool.

      Parameters:
      poolId - The ID of the address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolCidrs

      CoipPool.Builder poolCidrs(Collection<String> poolCidrs)

      The address ranges of the address pool.

      Parameters:
      poolCidrs - The address ranges of the address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolCidrs

      CoipPool.Builder poolCidrs(String... poolCidrs)

      The address ranges of the address pool.

      Parameters:
      poolCidrs - The address ranges of the address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localGatewayRouteTableId

      CoipPool.Builder localGatewayRouteTableId(String localGatewayRouteTableId)

      The ID of the local gateway route table.

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

      The tags.

      Parameters:
      tags - The tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      CoipPool.Builder tags(Tag... tags)

      The tags.

      Parameters:
      tags - The tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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

      CoipPool.Builder poolArn(String poolArn)

      The ARN of the address pool.

      Parameters:
      poolArn - The ARN of the address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.