public static interface EnableImageBlockPublicAccessRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<EnableImageBlockPublicAccessRequest.Builder,EnableImageBlockPublicAccessRequest>
| Modifier and Type | Method and Description |
|---|---|
EnableImageBlockPublicAccessRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
EnableImageBlockPublicAccessRequest.Builder |
imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
EnableImageBlockPublicAccessRequest.Builder |
imageBlockPublicAccessState(String imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
EnableImageBlockPublicAccessRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
EnableImageBlockPublicAccessRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildEnableImageBlockPublicAccessRequest.Builder imageBlockPublicAccessState(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,
ImageBlockPublicAccessEnabledStateEnableImageBlockPublicAccessRequest.Builder imageBlockPublicAccessState(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,
ImageBlockPublicAccessEnabledStateEnableImageBlockPublicAccessRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.EnableImageBlockPublicAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderEnableImageBlockPublicAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.