@Override
    public EnableSnapshotBlockPublicAccessResult enableSnapshotBlockPublicAccess(EnableSnapshotBlockPublicAccessRequest request) {
        request = beforeClientExecution(request);
        return executeEnableSnapshotBlockPublicAccess(request);
    }
<p>
Enables or modifies the <i>block public access for snapshots</i> setting at the account level for the specified
Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer
request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either
treated as private or they remain publicly shared, depending on the <b>State</b> that you specify.
</p>
<p>
If block public access is enabled in <code>block-all-sharing</code> mode, and you change the mode to
<code>block-new-sharing</code>, all snapshots that were previously publicly shared are no longer treated as
private and they become publicly accessible again.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html"> Block public access
for snapshots</a> in the <i>Amazon EBS User Guide</i>.
</p>

@param enableSnapshotBlockPublicAccessRequest
@return Result of the EnableSnapshotBlockPublicAccess operation returned by the service.
@sample AmazonEC2.EnableSnapshotBlockPublicAccess
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSnapshotBlockPublicAccess"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java