public EndPoint withStreamType(String streamType) {
        setStreamType(streamType);
        return this;
    }
<p>
The type of data stream where you are sending real-time log data. The only valid value is <code>Kinesis</code>.
</p>

@param streamType
       The type of data stream where you are sending real-time log data. The only valid value is
       <code>Kinesis</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/EndPoint.java