@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getName() != null)
            sb.append("Name: ").append(getName()).append(",");
        if (getStreamingOptions() != null)
            sb.append("StreamingOptions: ").append(getStreamingOptions()).append(",");
        if (getWindowSize() != null)
            sb.append("WindowSize: ").append(getWindowSize()).append(",");
        if (getDetectSchema() != null)
            sb.append("DetectSchema: ").append(getDetectSchema()).append(",");
        if (getDataPreviewOptions() != null)
            sb.append("DataPreviewOptions: ").append(getDataPreviewOptions());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/DirectKafkaSource.java