public void setLocations(java.util.Collection<Location> locations) {
        if (locations == null) {
            this.locations = null;
            return;
        }

        this.locations = new java.util.ArrayList<Location>(locations);
    }
<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.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/ValidatePolicyFinding.java