Interface ListPolicyTagsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListPolicyTagsResponse.Builder,ListPolicyTagsResponse>, IamResponse.Builder, SdkBuilder<ListPolicyTagsResponse.Builder,ListPolicyTagsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListPolicyTagsResponse

public static interface ListPolicyTagsResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListPolicyTagsResponse.Builder,ListPolicyTagsResponse>
  • Method Details

    • tags

      The list of tags that are currently attached to the IAM customer managed policy. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.

      Parameters:
      tags - The list of tags that are currently attached to the IAM customer managed policy. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The list of tags that are currently attached to the IAM customer managed policy. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.

      Parameters:
      tags - The list of tags that are currently attached to the IAM customer managed policy. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The list of tags that are currently attached to the IAM customer managed policy. Each tag consists of a key name and an associated value. If no tags are attached to the specified resource, the response contains an empty list.

      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:
    • isTruncated

      ListPolicyTagsResponse.Builder isTruncated(Boolean isTruncated)

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

      Parameters:
      isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marker

      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Parameters:
      marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.