public void setGeneratedPolicies(java.util.Collection<GeneratedPolicy> generatedPolicies) {
        if (generatedPolicies == null) {
            this.generatedPolicies = null;
            return;
        }

        this.generatedPolicies = new java.util.ArrayList<GeneratedPolicy>(generatedPolicies);
    }
<p>
The text to use as the content for the new policy. The policy is created using the <a
href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html">CreatePolicy</a> action.
</p>

@param generatedPolicies
       The text to use as the content for the new policy. The policy is created using the <a
       href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html">CreatePolicy</a> action.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/GeneratedPolicyResult.java