public class SetBucketMetricsConfigurationRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
SetBucketMetricsConfigurationRequest() |
SetBucketMetricsConfigurationRequest(String bucketName,
MetricsConfiguration metricsConfiguration) |
Modifier and Type | Method and Description |
---|---|
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(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(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. |
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 SetBucketMetricsConfigurationRequest()
public SetBucketMetricsConfigurationRequest(String bucketName, MetricsConfiguration metricsConfiguration)
public String getBucketName()
public void setBucketName(String bucketName)
public SetBucketMetricsConfigurationRequest withBucketName(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 © 2013 Amazon Web Services, Inc. All Rights Reserved.