public GetAccessGrantsLocationResult withLocationScope(String locationScope) {
        setLocationScope(locationScope);
        return this;
    }
<p>
The S3 URI path to the registered location. The location scope can be the default S3 location <code>s3://</code>,
the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the
beginning of an object key name used to organize the objects that you store in your S3 buckets. For example,
object key names that start with the <code>engineering/</code> prefix or object key names that start with the
<code>marketing/campaigns/</code> prefix.
</p>

@param locationScope
       The S3 URI path to the registered location. The location scope can be the default S3 location
       <code>s3://</code>, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a
       string of characters at the beginning of an object key name used to organize the objects that you store in
       your S3 buckets. For example, object key names that start with the <code>engineering/</code> prefix or
       object key names that start with the <code>marketing/campaigns/</code> prefix.
@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/GetAccessGrantsLocationResult.java