public class DeleteBucketMetricsConfigurationRequest extends AmazonWebServiceRequest implements Serializable, ExpectedBucketOwnerRequest
NOOP| Constructor and Description |
|---|
DeleteBucketMetricsConfigurationRequest() |
DeleteBucketMetricsConfigurationRequest(String bucketName,
String id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBucketName()
Returns the name of the bucket from which the metrics configuration is deleted.
|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
String |
getId()
The ID used to identify the metrics configuration.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket from which the metrics configuration is deleted.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
void |
setId(String id)
Sets the ID used to identify the metrics configuration.
|
DeleteBucketMetricsConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket from which the metrics configuration is deleted
and returns this object for method chaining.
|
DeleteBucketMetricsConfigurationRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
DeleteBucketMetricsConfigurationRequest |
withId(String id)
Sets the ID used to identify the metrics configuration and returns
DeleteBucketMetricsConfigurationRequest
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, withSdkRequestTimeoutpublic DeleteBucketMetricsConfigurationRequest()
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest403 (Access Denied) error.getExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic DeleteBucketMetricsConfigurationRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest403 (Access Denied) error.withExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest403 (Access Denied) error.setExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic String getBucketName()
public void setBucketName(String bucketName)
public DeleteBucketMetricsConfigurationRequest withBucketName(String bucketName)
public String getId()
public void setId(String id)
public DeleteBucketMetricsConfigurationRequest withId(String id)
DeleteBucketMetricsConfigurationRequest
object for method chaining. The ID has a 64 character limit and can only contain letters, numbers, periods,
dashes, and underscores.