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

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

    if (other.getName() == null ^ this.getName() == null) return false;
    if (other.getName() != null && other.getName().equals(this.getName()) == false) return false;
    if (other.getInputBucket() == null ^ this.getInputBucket() == null) return false;
    if (other.getInputBucket() != null
        && other.getInputBucket().equals(this.getInputBucket()) == false) return false;
    if (other.getOutputBucket() == null ^ this.getOutputBucket() == null) return false;
    if (other.getOutputBucket() != null
        && other.getOutputBucket().equals(this.getOutputBucket()) == false) return false;
    if (other.getRole() == null ^ this.getRole() == null) return false;
    if (other.getRole() != null && other.getRole().equals(this.getRole()) == false) return false;
    if (other.getNotifications() == null ^ this.getNotifications() == null) return false;
    if (other.getNotifications() != null
        && other.getNotifications().equals(this.getNotifications()) == false) return false;
    return true;
  }