public class GetBucketLoggingConfigurationRequest extends GenericBucketRequest implements Serializable, ExpectedBucketOwnerRequest
NOOP
Constructor and Description |
---|
GetBucketLoggingConfigurationRequest(String bucketName)
Creates request object, ready to be executed to fetch the logging
configuration for the specified bucket.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
GetBucketLoggingConfigurationRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
getBucket, getBucketName, setBucketName, withBucketName
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 GetBucketLoggingConfigurationRequest(String bucketName)
bucketName
- The name of the bucket whose logging configuration is being
fetched.public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public GetBucketLoggingConfigurationRequest 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
Copyright © 2022. All rights reserved.