@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 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, 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 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 Object
Object.toString()
public PutPublicAccessBlockRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()