public GetOriginRequestPolicyRequest withId(String id) {
        setId(id);
        return this;
    }
<p>
The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's
cache behavior, you can get the policy's identifier using <code>ListDistributions</code> or
<code>GetDistribution</code>. If the origin request policy is not attached to a cache behavior, you can get the
identifier using <code>ListOriginRequestPolicies</code>.
</p>

@param id
       The unique identifier for the origin request policy. If the origin request policy is attached to a
       distribution's cache behavior, you can get the policy's identifier using <code>ListDistributions</code> or
       <code>GetDistribution</code>. If the origin request policy is not attached to a cache behavior, you can
       get the identifier using <code>ListOriginRequestPolicies</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/GetOriginRequestPolicyRequest.java