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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetObjectTaggingResponse.BuildertagSet(Collection<Tag> tagSet)Contains the tag set.GetObjectTaggingResponse.BuildertagSet(Consumer<Tag.Builder>... tagSet)Contains the tag set.GetObjectTaggingResponse.BuildertagSet(Tag... tagSet)Contains the tag set.GetObjectTaggingResponse.BuilderversionId(String versionId)The versionId of the object for which you got the tagging information.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.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
-
versionId
GetObjectTaggingResponse.Builder versionId(String 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
GetObjectTaggingResponse.Builder tagSet(Collection<Tag> 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
GetObjectTaggingResponse.Builder tagSet(Tag... 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
GetObjectTaggingResponse.Builder tagSet(Consumer<Tag.Builder>... 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 to#tagSet(List.) - 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:
#tagSet(java.util.Collection)
-
-