Interface ListUserTagsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUserTagsResponse.Builder,ListUserTagsResponse>,IamResponse.Builder,SdkBuilder<ListUserTagsResponse.Builder,ListUserTagsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListUserTagsResponse
@Mutable @NotThreadSafe public static interface ListUserTagsResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListUserTagsResponse.Builder,ListUserTagsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUserTagsResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.ListUserTagsResponse.Buildermarker(String marker)WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.ListUserTagsResponse.Buildertags(Collection<Tag> tags)The list of tags that are currently attached to the user.ListUserTagsResponse.Buildertags(Consumer<Tag.Builder>... tags)The list of tags that are currently attached to the user.ListUserTagsResponse.Buildertags(Tag... tags)The list of tags that are currently attached to the user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
tags
ListUserTagsResponse.Builder tags(Collection<Tag> tags)
The list of tags that are currently attached to the user. 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 user. 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
ListUserTagsResponse.Builder tags(Tag... tags)
The list of tags that are currently attached to the user. 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 user. 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
ListUserTagsResponse.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags that are currently attached to the user. 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
isTruncated
ListUserTagsResponse.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
Markerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter 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 theMarkerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter 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
ListUserTagsResponse.Builder marker(String marker)
When
IsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-