Interface EgressOnlyInternetGateway.Builder

    • Method Detail

      • attachments

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

        Information about the attachment of the egress-only internet gateway.

        Parameters:
        attachments - Information about the attachment of the egress-only internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachments

        EgressOnlyInternetGateway.Builder attachments​(InternetGatewayAttachment... attachments)

        Information about the attachment of the egress-only internet gateway.

        Parameters:
        attachments - Information about the attachment of the egress-only internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • egressOnlyInternetGatewayId

        EgressOnlyInternetGateway.Builder egressOnlyInternetGatewayId​(String egressOnlyInternetGatewayId)

        The ID of the egress-only internet gateway.

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

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

        The tags assigned to the egress-only internet gateway.

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

        EgressOnlyInternetGateway.Builder tags​(Tag... tags)

        The tags assigned to the egress-only internet gateway.

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

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

        The tags assigned to the egress-only 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)