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

        if (obj instanceof FacetAttribute == false)
            return false;
        FacetAttribute other = (FacetAttribute) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getAttributeDefinition() == null ^ this.getAttributeDefinition() == null)
            return false;
        if (other.getAttributeDefinition() != null && other.getAttributeDefinition().equals(this.getAttributeDefinition()) == false)
            return false;
        if (other.getAttributeReference() == null ^ this.getAttributeReference() == null)
            return false;
        if (other.getAttributeReference() != null && other.getAttributeReference().equals(this.getAttributeReference()) == false)
            return false;
        if (other.getRequiredBehavior() == null ^ this.getRequiredBehavior() == null)
            return false;
        if (other.getRequiredBehavior() != null && other.getRequiredBehavior().equals(this.getRequiredBehavior()) == 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-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/FacetAttribute.java