com.volcengine.dms.model.ObjectSourceConfigForCreateDataMigrateTaskInput Maven / Gradle / Ivy
/*
* 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.BucketAccessConfigForCreateDataMigrateTaskInput;
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;
/**
* ObjectSourceConfigForCreateDataMigrateTaskInput
*/
public class ObjectSourceConfigForCreateDataMigrateTaskInput {
@SerializedName("BucketAccessConfig")
private BucketAccessConfigForCreateDataMigrateTaskInput 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 ObjectSourceConfigForCreateDataMigrateTaskInput bucketAccessConfig(BucketAccessConfigForCreateDataMigrateTaskInput bucketAccessConfig) {
this.bucketAccessConfig = bucketAccessConfig;
return this;
}
/**
* Get bucketAccessConfig
* @return bucketAccessConfig
**/
@Valid
@Schema(description = "")
public BucketAccessConfigForCreateDataMigrateTaskInput getBucketAccessConfig() {
return bucketAccessConfig;
}
public void setBucketAccessConfig(BucketAccessConfigForCreateDataMigrateTaskInput bucketAccessConfig) {
this.bucketAccessConfig = bucketAccessConfig;
}
public ObjectSourceConfigForCreateDataMigrateTaskInput 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 ObjectSourceConfigForCreateDataMigrateTaskInput 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 ObjectSourceConfigForCreateDataMigrateTaskInput prefixList(List prefixList) {
this.prefixList = prefixList;
return this;
}
public ObjectSourceConfigForCreateDataMigrateTaskInput 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 ObjectSourceConfigForCreateDataMigrateTaskInput 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 ObjectSourceConfigForCreateDataMigrateTaskInput 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 ObjectSourceConfigForCreateDataMigrateTaskInput 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;
}
ObjectSourceConfigForCreateDataMigrateTaskInput objectSourceConfigForCreateDataMigrateTaskInput = (ObjectSourceConfigForCreateDataMigrateTaskInput) o;
return Objects.equals(this.bucketAccessConfig, objectSourceConfigForCreateDataMigrateTaskInput.bucketAccessConfig) &&
Objects.equals(this.isExcluded, objectSourceConfigForCreateDataMigrateTaskInput.isExcluded) &&
Objects.equals(this.keyListFile, objectSourceConfigForCreateDataMigrateTaskInput.keyListFile) &&
Objects.equals(this.prefixList, objectSourceConfigForCreateDataMigrateTaskInput.prefixList) &&
Objects.equals(this.prefixListFile, objectSourceConfigForCreateDataMigrateTaskInput.prefixListFile) &&
Objects.equals(this.scanWithDelimiter, objectSourceConfigForCreateDataMigrateTaskInput.scanWithDelimiter) &&
Objects.equals(this.startTime, objectSourceConfigForCreateDataMigrateTaskInput.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 ObjectSourceConfigForCreateDataMigrateTaskInput {\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