public class SetBucketTaggingConfigurationRequest extends AmazonWebServiceRequest
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, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.