public class SetBucketMetricsConfigurationRequest extends AmazonWebServiceRequest implements java.io.Serializable
Constructor and Description |
---|
SetBucketMetricsConfigurationRequest() |
SetBucketMetricsConfigurationRequest(java.lang.String bucketName,
MetricsConfiguration metricsConfiguration) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketName()
Returns the name of the bucket for which the metrics configuration is set.
|
MetricsConfiguration |
getMetricsConfiguration()
Returns the metrics configuration that is set on the bucket.
|
void |
setBucketName(java.lang.String bucketName)
Sets the name of the bucket for which the metrics configuration is set.
|
void |
setMetricsConfiguration(MetricsConfiguration metricsConfiguration)
Sets the metrics configuration.
|
SetBucketMetricsConfigurationRequest |
withBucketName(java.lang.String bucketName)
Sets the name of the bucket for which the metrics configuration is set
and returns
SetBucketMetricsConfigurationRequest object for method chaining. |
SetBucketMetricsConfigurationRequest |
withMetricsConfiguration(MetricsConfiguration metricsConfiguration)
Sets the metrics configuration and returns the
SetBucketMetricsConfigurationRequest object for method chaining. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public SetBucketMetricsConfigurationRequest()
public SetBucketMetricsConfigurationRequest(java.lang.String bucketName, MetricsConfiguration metricsConfiguration)
public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
public SetBucketMetricsConfigurationRequest withBucketName(java.lang.String bucketName)
SetBucketMetricsConfigurationRequest
object for method chaining.public MetricsConfiguration getMetricsConfiguration()
public void setMetricsConfiguration(MetricsConfiguration metricsConfiguration)
public SetBucketMetricsConfigurationRequest withMetricsConfiguration(MetricsConfiguration metricsConfiguration)
SetBucketMetricsConfigurationRequest
object for method chaining.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.