public GeneratedPolicyResult withGeneratedPolicies(java.util.Collection<GeneratedPolicy> generatedPolicies) {
        setGeneratedPolicies(generatedPolicies);
        return this;
    }
<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.
@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/GeneratedPolicyResult.java