public class SetBucketTaggingConfigurationRequest extends AmazonWebServiceRequest implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucketName
The bucket whose tagging configuration is being set.
|
private BucketTaggingConfiguration |
taggingConfiguration
The new tagging configuration for the specified bucket.
|
NOOP
Constructor and Description |
---|
SetBucketTaggingConfigurationRequest(java.lang.String bucketName,
BucketTaggingConfiguration taggingConfiguration)
Constructs a new
SetBucketTaggingConfigurationRequest
to set the bucket tagging configuration of
the specified bucket. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketName()
Gets the name of the bucket whose tagging configuration is being
set.
|
BucketTaggingConfiguration |
getTaggingConfiguration()
Gets the new tagging configuration for the specified bucket.
|
void |
setBucketName(java.lang.String bucketName)
Sets the name of the bucket whose tagging configuration is being set.
|
void |
setTaggingConfiguration(BucketTaggingConfiguration taggingConfiguration)
Sets the new tagging configuration for the specified bucket.
|
SetBucketTaggingConfigurationRequest |
withBucketName(java.lang.String bucketName)
Sets the name of the bucket whose tagging configuration is being set,
and returns this object so that additional method calls may be chained
together.
|
SetBucketTaggingConfigurationRequest |
withTaggingConfiguration(BucketTaggingConfiguration taggingConfiguration)
Sets the new tagging configuration for the specified bucket and
returns this object, enabling additional method calls to be chained
together.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String bucketName
private BucketTaggingConfiguration taggingConfiguration
public SetBucketTaggingConfigurationRequest(java.lang.String bucketName, BucketTaggingConfiguration taggingConfiguration)
SetBucketTaggingConfigurationRequest
to set the bucket tagging configuration of
the specified bucket.bucketName
- The name of the bucket for which to set the tagging
configuration.taggingConfiguration
- The new tagging configuration for this bucket, which
completely replaces any existing configuration.public java.lang.String getBucketName()
setBucketName(String)
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose tagging configuration is being
set.getBucketName()
public SetBucketTaggingConfigurationRequest withBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose tagging configuration is being
set.SetBucketTaggingConfigurationRequest
object so that
additional method calls may be chained together.setBucketName(String)
public BucketTaggingConfiguration getTaggingConfiguration()
withTaggingConfiguration(BucketTaggingConfiguration)
public void setTaggingConfiguration(BucketTaggingConfiguration taggingConfiguration)
taggingConfiguration
- The new tagging configuration for the specified bucket.getTaggingConfiguration()
,
withTaggingConfiguration(BucketTaggingConfiguration)
public SetBucketTaggingConfigurationRequest withTaggingConfiguration(BucketTaggingConfiguration taggingConfiguration)
taggingConfiguration
- The new tagging configuration for the specified bucket.SetBucketTaggingConfigurationRequest
object, enabling that
additional method calls may be chained together.getTaggingConfiguration()