All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.camunda.connector.sns.outbound.model.SnsConnectorRequest Maven / Gradle / Ivy

There is a newer version: 8.6.0-alpha4
Show newest version
/*
 * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
 * under one or more contributor license agreements. Licensed under a proprietary license.
 * See the License.txt file for more information. You may not use this file
 * except in compliance with the proprietary license.
 */
package io.camunda.connector.sns.outbound.model;

import io.camunda.connector.aws.model.impl.AwsBaseRequest;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import java.util.Objects;

public class SnsConnectorRequest extends AwsBaseRequest {

  @Valid @NotNull private TopicRequestData topic;

  public TopicRequestData getTopic() {
    return topic;
  }

  public void setTopic(final TopicRequestData topic) {
    this.topic = topic;
  }

  @Override
  public boolean equals(final Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof final SnsConnectorRequest that)) {
      return false;
    }
    if (!super.equals(o)) {
      return false;
    }
    return Objects.equals(topic, that.topic);
  }

  @Override
  public int hashCode() {
    return Objects.hash(super.hashCode(), topic);
  }

  @Override
  public String toString() {
    return "SnsConnectorRequest{" + "topic=" + topic + "}";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy