Interface CarrierGateway.Builder

    • Method Detail

      • 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

        CarrierGateway.Builder vpcId​(String 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.
      • 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

        CarrierGateway.Builder tags​(Collection<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

        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

        CarrierGateway.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)