public String getPolicy() {
        return this.policy;
    }
<p>
The JSON-formatted resource-based policy attached to the <code>ProfilingGroup</code>.
</p>

@return The JSON-formatted resource-based policy attached to the <code>ProfilingGroup</code>.
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/GetPolicyResult.java