/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.integrations.v1alpha.model;

/**
 * Model definition for EnterpriseCrmEventbusProtoTeardownTaskConfig.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Application Integration API. For a detailed
 * explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class EnterpriseCrmEventbusProtoTeardownTaskConfig extends com.google.api.client.json.GenericJson {

  /**
   * The creator's email address.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String creatorEmail;

  /**
   * Required. Unique identifier of the teardown task within this Config. We use this field as the
   * identifier to find next teardown tasks.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String name;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoNextTeardownTask nextTeardownTask;

  /**
   * The parameters the user can pass to this task.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoEventParameters parameters;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoEventBusProperties properties;

  /**
   * Required. Implementation class name.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String teardownTaskImplementationClassName;

  /**
   * The creator's email address.
   * @return value or {@code null} for none
   */
  public java.lang.String getCreatorEmail() {
    return creatorEmail;
  }

  /**
   * The creator's email address.
   * @param creatorEmail creatorEmail or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoTeardownTaskConfig setCreatorEmail(java.lang.String creatorEmail) {
    this.creatorEmail = creatorEmail;
    return this;
  }

  /**
   * Required. Unique identifier of the teardown task within this Config. We use this field as the
   * identifier to find next teardown tasks.
   * @return value or {@code null} for none
   */
  public java.lang.String getName() {
    return name;
  }

  /**
   * Required. Unique identifier of the teardown task within this Config. We use this field as the
   * identifier to find next teardown tasks.
   * @param name name or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoTeardownTaskConfig setName(java.lang.String name) {
    this.name = name;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoNextTeardownTask getNextTeardownTask() {
    return nextTeardownTask;
  }

  /**
   * @param nextTeardownTask nextTeardownTask or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoTeardownTaskConfig setNextTeardownTask(EnterpriseCrmEventbusProtoNextTeardownTask nextTeardownTask) {
    this.nextTeardownTask = nextTeardownTask;
    return this;
  }

  /**
   * The parameters the user can pass to this task.
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoEventParameters getParameters() {
    return parameters;
  }

  /**
   * The parameters the user can pass to this task.
   * @param parameters parameters or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoTeardownTaskConfig setParameters(EnterpriseCrmEventbusProtoEventParameters parameters) {
    this.parameters = parameters;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoEventBusProperties getProperties() {
    return properties;
  }

  /**
   * @param properties properties or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoTeardownTaskConfig setProperties(EnterpriseCrmEventbusProtoEventBusProperties properties) {
    this.properties = properties;
    return this;
  }

  /**
   * Required. Implementation class name.
   * @return value or {@code null} for none
   */
  public java.lang.String getTeardownTaskImplementationClassName() {
    return teardownTaskImplementationClassName;
  }

  /**
   * Required. Implementation class name.
   * @param teardownTaskImplementationClassName teardownTaskImplementationClassName or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoTeardownTaskConfig setTeardownTaskImplementationClassName(java.lang.String teardownTaskImplementationClassName) {
    this.teardownTaskImplementationClassName = teardownTaskImplementationClassName;
    return this;
  }

  @Override
  public EnterpriseCrmEventbusProtoTeardownTaskConfig set(String fieldName, Object value) {
    return (EnterpriseCrmEventbusProtoTeardownTaskConfig) super.set(fieldName, value);
  }

  @Override
  public EnterpriseCrmEventbusProtoTeardownTaskConfig clone() {
    return (EnterpriseCrmEventbusProtoTeardownTaskConfig) super.clone();
  }

}
