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

com.volcengine.dms.model.ObjectSourceConfigForQueryDataMigrateTaskOutput Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * dms
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.dms.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.volcengine.dms.model.BucketAccessConfigForQueryDataMigrateTaskOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * ObjectSourceConfigForQueryDataMigrateTaskOutput
 */



public class ObjectSourceConfigForQueryDataMigrateTaskOutput {
  @SerializedName("BucketAccessConfig")
  private BucketAccessConfigForQueryDataMigrateTaskOutput bucketAccessConfig = null;

  @SerializedName("IsExcluded")
  private Boolean isExcluded = null;

  @SerializedName("KeyListFile")
  private String keyListFile = null;

  @SerializedName("PrefixList")
  private List prefixList = null;

  @SerializedName("PrefixListFile")
  private String prefixListFile = null;

  @SerializedName("ScanWithDelimiter")
  private Boolean scanWithDelimiter = null;

  @SerializedName("StartTime")
  private String startTime = null;

  public ObjectSourceConfigForQueryDataMigrateTaskOutput bucketAccessConfig(BucketAccessConfigForQueryDataMigrateTaskOutput bucketAccessConfig) {
    this.bucketAccessConfig = bucketAccessConfig;
    return this;
  }

   /**
   * Get bucketAccessConfig
   * @return bucketAccessConfig
  **/
  @Valid
  @Schema(description = "")
  public BucketAccessConfigForQueryDataMigrateTaskOutput getBucketAccessConfig() {
    return bucketAccessConfig;
  }

  public void setBucketAccessConfig(BucketAccessConfigForQueryDataMigrateTaskOutput bucketAccessConfig) {
    this.bucketAccessConfig = bucketAccessConfig;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput isExcluded(Boolean isExcluded) {
    this.isExcluded = isExcluded;
    return this;
  }

   /**
   * Get isExcluded
   * @return isExcluded
  **/
  @Schema(description = "")
  public Boolean isIsExcluded() {
    return isExcluded;
  }

  public void setIsExcluded(Boolean isExcluded) {
    this.isExcluded = isExcluded;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput keyListFile(String keyListFile) {
    this.keyListFile = keyListFile;
    return this;
  }

   /**
   * Get keyListFile
   * @return keyListFile
  **/
  @Schema(description = "")
  public String getKeyListFile() {
    return keyListFile;
  }

  public void setKeyListFile(String keyListFile) {
    this.keyListFile = keyListFile;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput prefixList(List prefixList) {
    this.prefixList = prefixList;
    return this;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput addPrefixListItem(String prefixListItem) {
    if (this.prefixList == null) {
      this.prefixList = new ArrayList();
    }
    this.prefixList.add(prefixListItem);
    return this;
  }

   /**
   * Get prefixList
   * @return prefixList
  **/
  @Schema(description = "")
  public List getPrefixList() {
    return prefixList;
  }

  public void setPrefixList(List prefixList) {
    this.prefixList = prefixList;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput prefixListFile(String prefixListFile) {
    this.prefixListFile = prefixListFile;
    return this;
  }

   /**
   * Get prefixListFile
   * @return prefixListFile
  **/
  @Schema(description = "")
  public String getPrefixListFile() {
    return prefixListFile;
  }

  public void setPrefixListFile(String prefixListFile) {
    this.prefixListFile = prefixListFile;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput scanWithDelimiter(Boolean scanWithDelimiter) {
    this.scanWithDelimiter = scanWithDelimiter;
    return this;
  }

   /**
   * Get scanWithDelimiter
   * @return scanWithDelimiter
  **/
  @Schema(description = "")
  public Boolean isScanWithDelimiter() {
    return scanWithDelimiter;
  }

  public void setScanWithDelimiter(Boolean scanWithDelimiter) {
    this.scanWithDelimiter = scanWithDelimiter;
  }

  public ObjectSourceConfigForQueryDataMigrateTaskOutput startTime(String startTime) {
    this.startTime = startTime;
    return this;
  }

   /**
   * Get startTime
   * @return startTime
  **/
  @Schema(description = "")
  public String getStartTime() {
    return startTime;
  }

  public void setStartTime(String startTime) {
    this.startTime = startTime;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ObjectSourceConfigForQueryDataMigrateTaskOutput objectSourceConfigForQueryDataMigrateTaskOutput = (ObjectSourceConfigForQueryDataMigrateTaskOutput) o;
    return Objects.equals(this.bucketAccessConfig, objectSourceConfigForQueryDataMigrateTaskOutput.bucketAccessConfig) &&
        Objects.equals(this.isExcluded, objectSourceConfigForQueryDataMigrateTaskOutput.isExcluded) &&
        Objects.equals(this.keyListFile, objectSourceConfigForQueryDataMigrateTaskOutput.keyListFile) &&
        Objects.equals(this.prefixList, objectSourceConfigForQueryDataMigrateTaskOutput.prefixList) &&
        Objects.equals(this.prefixListFile, objectSourceConfigForQueryDataMigrateTaskOutput.prefixListFile) &&
        Objects.equals(this.scanWithDelimiter, objectSourceConfigForQueryDataMigrateTaskOutput.scanWithDelimiter) &&
        Objects.equals(this.startTime, objectSourceConfigForQueryDataMigrateTaskOutput.startTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(bucketAccessConfig, isExcluded, keyListFile, prefixList, prefixListFile, scanWithDelimiter, startTime);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ObjectSourceConfigForQueryDataMigrateTaskOutput {\n");
    
    sb.append("    bucketAccessConfig: ").append(toIndentedString(bucketAccessConfig)).append("\n");
    sb.append("    isExcluded: ").append(toIndentedString(isExcluded)).append("\n");
    sb.append("    keyListFile: ").append(toIndentedString(keyListFile)).append("\n");
    sb.append("    prefixList: ").append(toIndentedString(prefixList)).append("\n");
    sb.append("    prefixListFile: ").append(toIndentedString(prefixListFile)).append("\n");
    sb.append("    scanWithDelimiter: ").append(toIndentedString(scanWithDelimiter)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy