@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() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID for the account whose
PublicAccessBlock configuration you want to set. |
PublicAccessBlockConfiguration |
getPublicAccessBlockConfiguration()
The
PublicAccessBlock configuration that you want to apply to the specified account. |
int |
hashCode() |
void |
setAccountId(String accountId)
The account ID for the account whose
PublicAccessBlock configuration you want to set. |
void |
setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the specified account. |
String |
toString()
Returns a string representation of this object.
|
PutPublicAccessBlockRequest |
withAccountId(String accountId)
The account ID for the account whose
PublicAccessBlock configuration you want to set. |
PutPublicAccessBlockRequest |
withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the specified account. |
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, withSdkRequestTimeoutpublic void setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock configuration that you want to apply to the specified account.
publicAccessBlockConfiguration - The PublicAccessBlock configuration that you want to apply to the specified account.public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
The PublicAccessBlock configuration that you want to apply to the specified account.
PublicAccessBlock configuration that you want to apply to the specified account.public PutPublicAccessBlockRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock configuration that you want to apply to the specified account.
publicAccessBlockConfiguration - The PublicAccessBlock configuration that you want to apply to the specified account.public void setAccountId(String accountId)
The account ID for the account whose PublicAccessBlock configuration you want to set.
accountId - The account ID for the account whose PublicAccessBlock configuration you want to set.public String getAccountId()
The account ID for the account whose PublicAccessBlock configuration you want to set.
PublicAccessBlock configuration you want to set.public PutPublicAccessBlockRequest withAccountId(String accountId)
The account ID for the account whose PublicAccessBlock configuration you want to set.
accountId - The account ID for the account whose PublicAccessBlock configuration you want to set.public String toString()
toString in class ObjectObject.toString()public PutPublicAccessBlockRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.