public void setOriginAccessControl(OriginAccessControl originAccessControl) {
        this.originAccessControl = originAccessControl;
    }
<p>
Contains an origin access control.
</p>

@param originAccessControl
       Contains an origin access control.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/CreateOriginAccessControlResult.java