Exemplo n.º 1
0
  @Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof AddTagsRequest == false) return false;
    AddTagsRequest other = (AddTagsRequest) obj;

    if (other.getLoadBalancerNames() == null ^ this.getLoadBalancerNames() == null) return false;
    if (other.getLoadBalancerNames() != null
        && other.getLoadBalancerNames().equals(this.getLoadBalancerNames()) == false) return false;
    if (other.getTags() == null ^ this.getTags() == null) return false;
    if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false;
    return true;
  }