public void setAccessGrantId(String accessGrantId) {
        this.accessGrantId = accessGrantId;
    }
<p>
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
</p>

@param accessGrantId
       The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/GetAccessGrantRequest.java