public DisableImageBlockPublicAccessResult withImageBlockPublicAccessState(ImageBlockPublicAccessDisabledState imageBlockPublicAccessState) {
        this.imageBlockPublicAccessState = imageBlockPublicAccessState.toString();
        return this;
    }
<p>
Returns <code>unblocked</code> if the request succeeds; otherwise, it returns an error.
</p>

@param imageBlockPublicAccessState
       Returns <code>unblocked</code> if the request succeeds; otherwise, it returns an error.
@return Returns a reference to this object so that method calls can be chained together.
@see ImageBlockPublicAccessDisabledState
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DisableImageBlockPublicAccessResult.java