@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPublicAccessBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutPublicAccessBlockRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutPublicAccessBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID for the AWS account whose
PublicAccessBlock configuration you want to set. |
PublicAccessBlockConfiguration |
getPublicAccessBlockConfiguration()
The
PublicAccessBlock configuration that you want to apply to the specified AWS account. |
int |
hashCode() |
void |
setAccountId(String accountId)
The account ID for the AWS account whose
PublicAccessBlock configuration you want to set. |
void |
setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the specified AWS account. |
String |
toString()
Returns a string representation of this object.
|
PutPublicAccessBlockRequest |
withAccountId(String accountId)
The account ID for the AWS account whose
PublicAccessBlock configuration you want to set. |
PutPublicAccessBlockRequest |
withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the specified AWS account. |
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, withSdkRequestTimeoutpublic void setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock configuration that you want to apply to the specified AWS account.
publicAccessBlockConfiguration - The PublicAccessBlock configuration that you want to apply to the specified AWS account.public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
The PublicAccessBlock configuration that you want to apply to the specified AWS account.
PublicAccessBlock configuration that you want to apply to the specified AWS account.public PutPublicAccessBlockRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock configuration that you want to apply to the specified AWS account.
publicAccessBlockConfiguration - The PublicAccessBlock configuration that you want to apply to the specified AWS account.public void setAccountId(String accountId)
The account ID for the AWS account whose PublicAccessBlock configuration you want to set.
accountId - The account ID for the AWS account whose PublicAccessBlock configuration you want to set.public String getAccountId()
The account ID for the AWS account whose PublicAccessBlock configuration you want to set.
PublicAccessBlock configuration you want to set.public PutPublicAccessBlockRequest withAccountId(String accountId)
The account ID for the AWS account whose PublicAccessBlock configuration you want to set.
accountId - The account ID for the AWS account whose PublicAccessBlock configuration you want to set.public String toString()
toString in class ObjectObject.toString()public PutPublicAccessBlockRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()