Interface GetObjectTaggingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetObjectTaggingResponse.Builder,,GetObjectTaggingResponse> S3Response.Builder,SdkBuilder<GetObjectTaggingResponse.Builder,,GetObjectTaggingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetObjectTaggingResponse
@Mutable
@NotThreadSafe
public static interface GetObjectTaggingResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetObjectTaggingResponse.Builder,GetObjectTaggingResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontagSet(Collection<Tag> tagSet) Contains the tag set.tagSet(Consumer<Tag.Builder>... tagSet) Contains the tag set.Contains the tag set.The versionId of the object for which you got the tagging information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
versionId
The versionId of the object for which you got the tagging information.
- Parameters:
versionId- The versionId of the object for which you got the tagging information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSet
Contains the tag set.
- Parameters:
tagSet- Contains the tag set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSet
Contains the tag set.
- Parameters:
tagSet- Contains the tag set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSet
Contains the tag set.
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 totagSet(List<Tag>).- Parameters:
tagSet- 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:
-