public GeneratedPolicyResult withProperties(GeneratedPolicyProperties properties) {
        setProperties(properties);
        return this;
    }
<p>
A <code>GeneratedPolicyProperties</code> object that contains properties of the generated policy.
</p>

@param properties
       A <code>GeneratedPolicyProperties</code> object that contains properties of the generated policy.
@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