@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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.ImageBlockPublicAccessEnabledState
public 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.ImageBlockPublicAccessEnabledState
public 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.ImageBlockPublicAccessEnabledState
public 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.ImageBlockPublicAccessEnabledState
public Request<EnableImageBlockPublicAccessRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<EnableImageBlockPublicAccessRequest>
public String toString()
toString
in class Object
Object.toString()
public EnableImageBlockPublicAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()