Interface CarrierGateway.Builder

  • Method Details

    • carrierGatewayId

      CarrierGateway.Builder carrierGatewayId(String carrierGatewayId)

      The ID of the carrier gateway.

      Parameters:
      carrierGatewayId - The ID of the carrier gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The ID of the VPC associated with the carrier gateway.

      Parameters:
      vpcId - The ID of the VPC associated with the carrier gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the carrier gateway.

      Parameters:
      state - The state of the carrier gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the carrier gateway.

      Parameters:
      state - The state of the carrier gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ownerId

      CarrierGateway.Builder ownerId(String ownerId)

      The Amazon Web Services account ID of the owner of the carrier gateway.

      Parameters:
      ownerId - The Amazon Web Services account ID of the owner of the carrier gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags assigned to the carrier gateway.

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

      CarrierGateway.Builder tags(Tag... tags)

      The tags assigned to the carrier gateway.

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

      The tags assigned to the carrier gateway.

      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: