public class GetBucketLifecycleConfigurationRequest extends GenericBucketRequest implements Serializable, ExpectedBucketOwnerRequest
NOOP| Constructor and Description |
|---|
GetBucketLifecycleConfigurationRequest(String bucketName)
Creates a request object, ready to be executed to fetch the lifecycle
configuration for the specified bucket.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpectedBucketOwner()
The account id of the expected bucket owner.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
GetBucketLifecycleConfigurationRequest |
withExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
getBucket, getBucketName, setBucketName, withBucketNameaddHandlerContext, 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, withSdkRequestTimeoutpublic GetBucketLifecycleConfigurationRequest(String bucketName)
When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
When using this operation using an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.
bucketName - The name of the bucket, or access point ARN, whose lifecycle configuration is being
fetched.public String getExpectedBucketOwner()
ExpectedBucketOwnerRequestgetExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic GetBucketLifecycleConfigurationRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequestwithExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequestsetExpectedBucketOwner in interface ExpectedBucketOwnerRequestCopyright © 2020. All rights reserved.