public ListAccessGrantsLocationsResult withAccessGrantsLocationsList(java.util.Collection<ListAccessGrantsLocationsEntry> accessGrantsLocationsList) {
        setAccessGrantsLocationsList(accessGrantsLocationsList);
        return this;
    }
<p>
A container for a list of registered locations in an S3 Access Grants instance.
</p>

@param accessGrantsLocationsList
       A container for a list of registered locations in an S3 Access Grants instance.
@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/ListAccessGrantsLocationsResult.java