@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 Amazon Web Services account whose
PublicAccessBlock configuration you want to
set. |
PublicAccessBlockConfiguration |
getPublicAccessBlockConfiguration()
The
PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services
account. |
int |
hashCode() |
void |
setAccountId(String accountId)
The account ID for the Amazon Web Services account whose
PublicAccessBlock configuration you want to
set. |
void |
setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services
account. |
String |
toString()
Returns a string representation of this object.
|
PutPublicAccessBlockRequest |
withAccountId(String accountId)
The account ID for the Amazon Web Services account whose
PublicAccessBlock configuration you want to
set. |
PutPublicAccessBlockRequest |
withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services
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 Amazon Web Services
account.
publicAccessBlockConfiguration
- The PublicAccessBlock
configuration that you want to apply to the specified Amazon Web
Services account.public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
The PublicAccessBlock
configuration that you want to apply to the specified Amazon Web Services
account.
PublicAccessBlock
configuration that you want to apply to the specified Amazon Web
Services account.public PutPublicAccessBlockRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock
configuration that you want to apply to the specified Amazon Web Services
account.
publicAccessBlockConfiguration
- The PublicAccessBlock
configuration that you want to apply to the specified Amazon Web
Services account.public void setAccountId(String accountId)
The account ID for the Amazon Web Services account whose PublicAccessBlock
configuration you want to
set.
accountId
- The account ID for the Amazon Web Services account whose PublicAccessBlock
configuration you
want to set.public String getAccountId()
The account ID for the Amazon Web Services account whose PublicAccessBlock
configuration you want to
set.
PublicAccessBlock
configuration you
want to set.public PutPublicAccessBlockRequest withAccountId(String accountId)
The account ID for the Amazon Web Services account whose PublicAccessBlock
configuration you want to
set.
accountId
- The account ID for the Amazon Web Services 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()