Interface ListTagsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudHsmV2Response.Builder,CopyableBuilder<ListTagsResponse.Builder,ListTagsResponse>,SdkBuilder<ListTagsResponse.Builder,ListTagsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTagsResponse
public static interface ListTagsResponse.Builder extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<ListTagsResponse.Builder,ListTagsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsResponse.BuildernextToken(String nextToken)An opaque string that indicates that the response contains only a subset of tags.ListTagsResponse.BuildertagList(Collection<Tag> tagList)A list of tags.ListTagsResponse.BuildertagList(Consumer<Tag.Builder>... tagList)A list of tags.ListTagsResponse.BuildertagList(Tag... tagList)A list of tags.-
Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
tagList
ListTagsResponse.Builder tagList(Collection<Tag> tagList)
A list of tags.
- Parameters:
tagList- A list of tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
ListTagsResponse.Builder tagList(Tag... tagList)
A list of tags.
- Parameters:
tagList- A list of tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
ListTagsResponse.Builder tagList(Consumer<Tag.Builder>... tagList)
A list of tags.
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#tagList(List.) - Parameters:
tagList- 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:
#tagList(java.util.Collection)
-
nextToken
ListTagsResponse.Builder nextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent
ListTagsrequest to get more tags.- Parameters:
nextToken- An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequentListTagsrequest to get more tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-