public UpdateOriginAccessControlResult withOriginAccessControl(OriginAccessControl originAccessControl) {
        setOriginAccessControl(originAccessControl);
        return this;
    }
<p>
The origin access control after it has been updated.
</p>

@param originAccessControl
       The origin access control after it has been updated.
@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/UpdateOriginAccessControlResult.java