public class SetBucketTaggingConfigurationRequest extends AmazonWebServiceRequest
| Constructor and Description |
|---|
SetBucketTaggingConfigurationRequest(String bucketName,
BucketTaggingConfiguration taggingConfiguration)
Constructs a new
SetBucketTaggingConfigurationRequest to set the
bucket tagging configuration of the specified bucket. |
| Modifier and Type | Method and Description |
|---|---|
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(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(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, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic SetBucketTaggingConfigurationRequest(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 String getBucketName()
setBucketName(String)public void setBucketName(String bucketName)
bucketName - The name of the bucket whose tagging configuration is
being set.getBucketName()public SetBucketTaggingConfigurationRequest withBucketName(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()Copyright © 2020. All rights reserved.