Interface ListResourceTagsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourceTagsResponse.Builder,ListResourceTagsResponse>,KmsResponse.Builder,SdkBuilder<ListResourceTagsResponse.Builder,ListResourceTagsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourceTagsResponse
public static interface ListResourceTagsResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListResourceTagsResponse.Builder,ListResourceTagsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceTagsResponse.BuildernextMarker(String nextMarker)WhenTruncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.ListResourceTagsResponse.Buildertags(Collection<Tag> tags)A list of tags.ListResourceTagsResponse.Buildertags(Consumer<Tag.Builder>... tags)A list of tags.ListResourceTagsResponse.Buildertags(Tag... tags)A list of tags.ListResourceTagsResponse.Buildertruncated(Boolean truncated)A flag that indicates whether there are more items in the list.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
tags
ListResourceTagsResponse.Builder tags(Collection<Tag> tags)
A list of tags. Each tag consists of a tag key and a tag value.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
- Parameters:
tags- A list of tags. Each tag consists of a tag key and a tag value.Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListResourceTagsResponse.Builder tags(Tag... tags)
A list of tags. Each tag consists of a tag key and a tag value.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
- Parameters:
tags- A list of tags. Each tag consists of a tag key and a tag value.Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListResourceTagsResponse.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags. Each tag consists of a tag key and a tag value.
This is a convenience method that creates an instance of theTagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
Tag.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)
-
nextMarker
ListResourceTagsResponse.Builder nextMarker(String nextMarker)
When
Truncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.Do not assume or infer any information from this value.
- Parameters:
nextMarker- WhenTruncatedis true, this element is present and contains the value to use for theMarkerparameter in a subsequent request.Do not assume or infer any information from this value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truncated
ListResourceTagsResponse.Builder truncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the
NextMarkerelement in thisresponse to theMarkerparameter in a subsequent request.- Parameters:
truncated- A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of theNextMarkerelement in thisresponse to theMarkerparameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-