@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 Public Access Block configuration you want to set.
|
PublicAccessBlockConfiguration |
getPublicAccessBlockConfiguration()
The Public Access Block configuration that you want to apply to this Amazon Web Services account.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Account ID for the Amazon Web Services account 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 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 Public Access Block configuration you want to set.
|
PutPublicAccessBlockRequest |
withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The Public Access Block configuration that you want to apply to this 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 Public Access Block configuration that you want to apply to this Amazon Web Services account.
publicAccessBlockConfiguration
- The Public Access Block configuration that you want to apply to this Amazon Web Services account.public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
The Public Access Block configuration that you want to apply to this Amazon Web Services account.
public PutPublicAccessBlockRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The Public Access Block configuration that you want to apply to this Amazon Web Services account.
publicAccessBlockConfiguration
- The Public Access Block configuration that you want to apply to this Amazon Web Services account.public void setAccountId(String accountId)
The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to set.
accountId
- The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to
set.public String getAccountId()
The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to set.
public PutPublicAccessBlockRequest withAccountId(String accountId)
The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to set.
accountId
- The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to
set.public String toString()
toString
in class Object
Object.toString()
public PutPublicAccessBlockRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.