Interface InternetGateway.Builder

    • Method Detail

      • attachments

        InternetGateway.Builder attachments​(Collection<InternetGatewayAttachment> attachments)

        Any VPCs attached to the internet gateway.

        Parameters:
        attachments - Any VPCs attached to the internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachments

        InternetGateway.Builder attachments​(InternetGatewayAttachment... attachments)

        Any VPCs attached to the internet gateway.

        Parameters:
        attachments - Any VPCs attached to the internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • internetGatewayId

        InternetGateway.Builder internetGatewayId​(String internetGatewayId)

        The ID of the internet gateway.

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

        InternetGateway.Builder ownerId​(String ownerId)

        The ID of the Amazon Web Services account that owns the internet gateway.

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

        InternetGateway.Builder tags​(Collection<Tag> tags)

        Any tags assigned to the internet gateway.

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

        InternetGateway.Builder tags​(Tag... tags)

        Any tags assigned to the internet gateway.

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

        InternetGateway.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags assigned to the internet 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)