public class GetBucketNotificationConfigurationRequest extends GenericBucketRequest implements Serializable, ExpectedBucketOwnerRequest
NOOP
Constructor and Description |
---|
GetBucketNotificationConfigurationRequest(String bucketName)
Creates a new request object, ready to be executed to fetch the
notification 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.
|
GetBucketNotificationConfigurationRequest |
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 GetBucketNotificationConfigurationRequest(String bucketName)
bucketName
- The name of the bucket whose notification configuration is
being fetched.public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public GetBucketNotificationConfigurationRequest 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 © 2021. All rights reserved.