@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableImageBlockPublicAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<EnableImageBlockPublicAccessRequest>
NOOP| Constructor and Description |
|---|
EnableImageBlockPublicAccessRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableImageBlockPublicAccessRequest |
clone() |
boolean |
equals(Object obj) |
Request<EnableImageBlockPublicAccessRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageBlockPublicAccessState()
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
int |
hashCode() |
void |
setImageBlockPublicAccessState(String imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
String |
toString()
Returns a string representation of this object.
|
EnableImageBlockPublicAccessRequest |
withImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
EnableImageBlockPublicAccessRequest |
withImageBlockPublicAccessState(String imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
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 setImageBlockPublicAccessState(String imageBlockPublicAccessState)
Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
imageBlockPublicAccessState - Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.ImageBlockPublicAccessEnabledStatepublic String getImageBlockPublicAccessState()
Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.ImageBlockPublicAccessEnabledStatepublic EnableImageBlockPublicAccessRequest withImageBlockPublicAccessState(String imageBlockPublicAccessState)
Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
imageBlockPublicAccessState - Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.ImageBlockPublicAccessEnabledStatepublic EnableImageBlockPublicAccessRequest withImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
imageBlockPublicAccessState - Specify block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. This will block any attempt to publicly share your AMIs in the specified Region.ImageBlockPublicAccessEnabledStatepublic Request<EnableImageBlockPublicAccessRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<EnableImageBlockPublicAccessRequest>public String toString()
toString in class ObjectObject.toString()public EnableImageBlockPublicAccessRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.