@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof DirectKinesisSource == false)
            return false;
        DirectKinesisSource other = (DirectKinesisSource) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getWindowSize() == null ^ this.getWindowSize() == null)
            return false;
        if (other.getWindowSize() != null && other.getWindowSize().equals(this.getWindowSize()) == false)
            return false;
        if (other.getDetectSchema() == null ^ this.getDetectSchema() == null)
            return false;
        if (other.getDetectSchema() != null && other.getDetectSchema().equals(this.getDetectSchema()) == false)
            return false;
        if (other.getStreamingOptions() == null ^ this.getStreamingOptions() == null)
            return false;
        if (other.getStreamingOptions() != null && other.getStreamingOptions().equals(this.getStreamingOptions()) == false)
            return false;
        if (other.getDataPreviewOptions() == null ^ this.getDataPreviewOptions() == null)
            return false;
        if (other.getDataPreviewOptions() != null && other.getDataPreviewOptions().equals(this.getDataPreviewOptions()) == false)
            return false;
        return true;
    }
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/DirectKinesisSource.java