public class SetPublicAccessBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetPublicAccessBlockRequest() |
Modifier and Type | Method and Description |
---|---|
SetPublicAccessBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object o) |
String |
getBucketName()
The name of the Amazon S3 bucket whose Public Access Block configuration you want to set.
|
PublicAccessBlockConfiguration |
getPublicAccessBlockConfiguration()
The Public Access Block configuration that you want to apply to this Amazon S3 bucket.
|
int |
hashCode() |
void |
setBucketName(String bucketName)
The name of the Amazon S3 bucket whose Public Access Block configuration you want to set.
|
void |
setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The Public Access Block configuration that you want to apply to this Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetPublicAccessBlockRequest |
withBucketName(String bucketName)
The name of the Amazon S3 bucket whose Public Access Block configuration you want to set.
|
SetPublicAccessBlockRequest |
withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The Public Access Block configuration that you want to apply to this Amazon S3 bucket.
|
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 getBucketName()
public void setBucketName(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 Amazon Web Services 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
- Name of bucket or access point ARN.public SetPublicAccessBlockRequest withBucketName(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 Amazon Web Services 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
- Name of bucket or access point ARN.public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
public void setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
publicAccessBlockConfiguration
- Configuration you wish to set.public SetPublicAccessBlockRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
publicAccessBlockConfiguration
- Configuration you wish to set.public String toString()
toString
in class Object
Object.toString()
public SetPublicAccessBlockRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2024. All rights reserved.