public class SetBucketMetricsConfigurationRequest extends AmazonWebServiceRequest implements Serializable, ExpectedBucketOwnerRequest
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.
|
String |
getExpectedBucketOwner()
The account id of the expected bucket owner.
|
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 |
setExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
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 |
withExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
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 getExpectedBucketOwner()
ExpectedBucketOwnerRequest
getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public SetBucketMetricsConfigurationRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
withExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
setExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
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.