public class GetPublicAccessBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, ExpectedBucketOwnerRequest
NOOP
Constructor and Description |
---|
GetPublicAccessBlockRequest() |
Modifier and Type | Method and Description |
---|---|
GetPublicAccessBlockRequest |
clone() |
boolean |
equals(Object o) |
String |
getBucketName()
The name of the Amazon S3 bucket whose Public Access Block configuration you want to retrieve.
|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
int |
hashCode() |
void |
setBucketName(String bucketName)
The name of the Amazon S3 bucket whose Public Access Block configuration you want to retrieve.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetPublicAccessBlockRequest |
withBucketName(String bucketName)
The name of the Amazon S3 bucket whose Public Access Block configuration you want to retrieve.
|
GetPublicAccessBlockRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
addHandlerContext, 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 String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public GetPublicAccessBlockRequest 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
- S3 bucket name.public GetPublicAccessBlockRequest withBucketName(String bucketName)
bucketName
- S3 bucket name.public String toString()
toString
in class Object
Object.toString()
public GetPublicAccessBlockRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.