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, 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)
bucketName
- Name of bucket.public SetPublicAccessBlockRequest withBucketName(String bucketName)
bucketName
- Name of bucket.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 © 2013 Amazon Web Services, Inc. All Rights Reserved.