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

        if (obj instanceof AgentHierarchyGroups == false)
            return false;
        AgentHierarchyGroups other = (AgentHierarchyGroups) obj;
        if (other.getL1Ids() == null ^ this.getL1Ids() == null)
            return false;
        if (other.getL1Ids() != null && other.getL1Ids().equals(this.getL1Ids()) == false)
            return false;
        if (other.getL2Ids() == null ^ this.getL2Ids() == null)
            return false;
        if (other.getL2Ids() != null && other.getL2Ids().equals(this.getL2Ids()) == false)
            return false;
        if (other.getL3Ids() == null ^ this.getL3Ids() == null)
            return false;
        if (other.getL3Ids() != null && other.getL3Ids().equals(this.getL3Ids()) == false)
            return false;
        if (other.getL4Ids() == null ^ this.getL4Ids() == null)
            return false;
        if (other.getL4Ids() != null && other.getL4Ids().equals(this.getL4Ids()) == false)
            return false;
        if (other.getL5Ids() == null ^ this.getL5Ids() == null)
            return false;
        if (other.getL5Ids() != null && other.getL5Ids().equals(this.getL5Ids()) == 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-connect/src/main/java/com/amazonaws/services/connect/model/AgentHierarchyGroups.java