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