public ValidatePolicyFinding withLocations(java.util.Collection<Location> locations) {
        setLocations(locations);
        return this;
    }
<p>
The list of locations in the policy document that are related to the finding. The issue code provides a summary
of an issue identified by the finding.
</p>

@param locations
       The list of locations in the policy document that are related to the finding. The issue code provides a
       summary of an issue identified by the finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/ValidatePolicyFinding.java