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

        if (obj instanceof NewCustomVocabularyItem == false)
            return false;
        NewCustomVocabularyItem other = (NewCustomVocabularyItem) obj;
        if (other.getPhrase() == null ^ this.getPhrase() == null)
            return false;
        if (other.getPhrase() != null && other.getPhrase().equals(this.getPhrase()) == false)
            return false;
        if (other.getWeight() == null ^ this.getWeight() == null)
            return false;
        if (other.getWeight() != null && other.getWeight().equals(this.getWeight()) == false)
            return false;
        if (other.getDisplayAs() == null ^ this.getDisplayAs() == null)
            return false;
        if (other.getDisplayAs() != null && other.getDisplayAs().equals(this.getDisplayAs()) == 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-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/NewCustomVocabularyItem.java