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, copyBaseTo, 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 DeleteBucketMetricsConfigurationRequest()
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public DeleteBucketMetricsConfigurationRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
403 (Access Denied)
error.withExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
403 (Access Denied)
error.setExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public 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.Copyright © 2024. All rights reserved.