Interface ListTagsResponse.Builder

    • Method Detail

      • tags

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

        An array of Tag objects, each with a tag key and a value.

        Parameters:
        tags - An array of Tag objects, each with a tag key and a value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ListTagsResponse.Builder tags​(Tag... tags)

        An array of Tag objects, each with a tag key and a value.

        Parameters:
        tags - An array of Tag objects, each with a tag key and a value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        An array of Tag objects, each with a tag key and a value.

        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)
      • nextToken

        ListTagsResponse.Builder nextToken​(String nextToken)

        If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.

        Parameters:
        nextToken - If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.
        Returns:
        Returns a reference to this object so that method calls can be chained together.