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

        if (obj instanceof Consumer == false)
            return false;
        Consumer other = (Consumer) obj;
        if (other.getConsumerName() == null ^ this.getConsumerName() == null)
            return false;
        if (other.getConsumerName() != null && other.getConsumerName().equals(this.getConsumerName()) == false)
            return false;
        if (other.getConsumerARN() == null ^ this.getConsumerARN() == null)
            return false;
        if (other.getConsumerARN() != null && other.getConsumerARN().equals(this.getConsumerARN()) == false)
            return false;
        if (other.getConsumerStatus() == null ^ this.getConsumerStatus() == null)
            return false;
        if (other.getConsumerStatus() != null && other.getConsumerStatus().equals(this.getConsumerStatus()) == false)
            return false;
        if (other.getConsumerCreationTimestamp() == null ^ this.getConsumerCreationTimestamp() == null)
            return false;
        if (other.getConsumerCreationTimestamp() != null && other.getConsumerCreationTimestamp().equals(this.getConsumerCreationTimestamp()) == 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-kinesis/src/main/java/com/amazonaws/services/kinesis/model/Consumer.java