public static interface PutObjectTaggingRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutObjectTaggingRequest.Builder,PutObjectTaggingRequest>
Modifier and Type | Method and Description |
---|---|
PutObjectTaggingRequest.Builder |
bucket(String bucket)
The bucket containing the object.
|
PutObjectTaggingRequest.Builder |
contentMD5(String contentMD5)
The MD5 hash for the request body.
|
PutObjectTaggingRequest.Builder |
key(String key)
Name of the tag.
|
PutObjectTaggingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutObjectTaggingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default PutObjectTaggingRequest.Builder |
tagging(Consumer<Tagging.Builder> tagging)
Container for the TagSet and Tag elements
|
PutObjectTaggingRequest.Builder |
tagging(Tagging tagging)
Container for the TagSet and Tag elements
|
PutObjectTaggingRequest.Builder |
versionId(String versionId)
The versionId of the object that the tag-set will be added to.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutObjectTaggingRequest.Builder bucket(String bucket)
The bucket containing the object.
bucket
- The bucket containing the object.PutObjectTaggingRequest.Builder key(String key)
Name of the tag.
key
- Name of the tag.PutObjectTaggingRequest.Builder versionId(String versionId)
The versionId of the object that the tag-set will be added to.
versionId
- The versionId of the object that the tag-set will be added to.PutObjectTaggingRequest.Builder contentMD5(String contentMD5)
The MD5 hash for the request body.
contentMD5
- The MD5 hash for the request body.PutObjectTaggingRequest.Builder tagging(Tagging tagging)
Container for the TagSet and Tag elements
tagging
- Container for the TagSet and Tag elementsdefault PutObjectTaggingRequest.Builder tagging(Consumer<Tagging.Builder> tagging)
Container for the TagSet and Tag elements
This is a convenience that creates an instance of theTagging.Builder
avoiding the need to create one
manually via Tagging.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to tagging(Tagging)
.tagging
- a consumer that will call methods on Tagging.Builder
tagging(Tagging)
PutObjectTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutObjectTaggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.