public class SetObjectTaggingRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
SetObjectTaggingRequest(String bucketName,
String key,
ObjectTagging tagging)
Constructs an instance of this object.
|
SetObjectTaggingRequest(String bucketName,
String key,
String versionId,
ObjectTagging tagging)
Constructs an instance of this object.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName() |
String |
getKey() |
ObjectTagging |
getTagging() |
String |
getVersionId() |
void |
setBucketName(String bucketName)
Set the bucket name.
|
void |
setKey(String key)
Set the object key.
|
void |
setTagging(ObjectTagging tagging)
Set the object tagging.
|
void |
setVersionId(String versionId)
Set object version.
|
SetObjectTaggingRequest |
withBucketName(String bucketName)
Set the bucket name.
|
SetObjectTaggingRequest |
withKey(String key)
Set the object key.
|
SetObjectTaggingRequest |
withTagging(ObjectTagging tagging)
Set the object tagging.
|
SetObjectTaggingRequest |
withVersionId(String versionId)
Set object version.
|
addHandlerContext, clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public SetObjectTaggingRequest(String bucketName, String key, ObjectTagging tagging)
bucketName
- The bucket name.key
- The object key.tagging
- The set of tags to set for the specified object.public SetObjectTaggingRequest(String bucketName, String key, String versionId, ObjectTagging tagging)
bucketName
- The bucket name.key
- The object key.versionId
- The version of the object.tagging
- The set of tags to set for the specified object.public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The bucket name.public SetObjectTaggingRequest withBucketName(String bucketName)
bucketName
- the bucket name.public String getKey()
public void setKey(String key)
key
- The object key.public SetObjectTaggingRequest withKey(String key)
key
- The object key.public String getVersionId()
public void setVersionId(String versionId)
versionId
- The object version.public SetObjectTaggingRequest withVersionId(String versionId)
versionId
- The object version.public ObjectTagging getTagging()
public void setTagging(ObjectTagging tagging)
tagging
- The object tagging.public SetObjectTaggingRequest withTagging(ObjectTagging tagging)
tagging
- The object tagging.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.