public class DeletePublicAccessBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, ExpectedBucketOwnerRequest
NOOP
Constructor and Description |
---|
DeletePublicAccessBlockRequest() |
Modifier and Type | Method and Description |
---|---|
DeletePublicAccessBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object o) |
String |
getBucketName()
The Amazon S3 bucket whose Public Access Block configuration you want to delete.
|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
int |
hashCode() |
void |
setBucketName(String bucketName)
The Amazon S3 bucket whose Public Access Block configuration you want to delete.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
String |
toString() |
DeletePublicAccessBlockRequest |
withBucketName(String bucketName)
The Amazon S3 bucket whose Public Access Block configuration you want to delete.
|
DeletePublicAccessBlockRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
addHandlerContext, 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 String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public DeletePublicAccessBlockRequest 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)
bucketName
- Name of bucket whose configuration should be deleted.public DeletePublicAccessBlockRequest withBucketName(String bucketName)
bucketName
- Name of bucket whose configuration should be deleted.public DeletePublicAccessBlockRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()