public ResourcePolicy withResourcePolicySummary(ResourcePolicySummary resourcePolicySummary) {
        setResourcePolicySummary(resourcePolicySummary);
        return this;
    }
<p>
A structure that contains resource policy ID and Amazon Resource Name (ARN).
</p>

@param resourcePolicySummary
       A structure that contains resource policy ID and Amazon Resource Name (ARN).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/ResourcePolicy.java