public OriginAccessControlSummary withOriginAccessControlOriginType(OriginAccessControlOriginTypes originAccessControlOriginType) {
        this.originAccessControlOriginType = originAccessControlOriginType.toString();
        return this;
    }
<p>
The type of origin that this origin access control is for.
</p>

@param originAccessControlOriginType
       The type of origin that this origin access control is for.
@return Returns a reference to this object so that method calls can be chained together.
@see OriginAccessControlOriginTypes
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/OriginAccessControlSummary.java