public GetAccessGrantResult withGrantScope(String grantScope) {
        setGrantScope(grantScope);
        return this;
    }
<p>
The S3 path of the data to which you are granting access. It is the result of appending the
<code>Subprefix</code> to the location scope.
</p>

@param grantScope
       The S3 path of the data to which you are granting access. It is the result of appending the
       <code>Subprefix</code> to the location scope.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/GetAccessGrantResult.java