public DirectKinesisSource withDetectSchema(Boolean detectSchema) {
        setDetectSchema(detectSchema);
        return this;
    }
<p>
Whether to automatically determine the schema from the incoming data.
</p>

@param detectSchema
       Whether to automatically determine the schema from the incoming data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/DirectKinesisSource.java