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

com.volcengine.dms.model.PrivateLinkForCreateDataMigrateTaskInput 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 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;
/**
 * PrivateLinkForCreateDataMigrateTaskInput
 */



public class PrivateLinkForCreateDataMigrateTaskInput {
  @SerializedName("ENIRole")
  private String enIRole = null;

  @SerializedName("IdcIP")
  private String idcIP = null;

  @SerializedName("IdcPort")
  private Integer idcPort = null;

  @SerializedName("SecurityGroupIDs")
  private List securityGroupIDs = null;

  @SerializedName("SubnetID")
  private String subnetID = null;

  @SerializedName("VpcID")
  private String vpcID = null;

  public PrivateLinkForCreateDataMigrateTaskInput enIRole(String enIRole) {
    this.enIRole = enIRole;
    return this;
  }

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

  public void setEnIRole(String enIRole) {
    this.enIRole = enIRole;
  }

  public PrivateLinkForCreateDataMigrateTaskInput idcIP(String idcIP) {
    this.idcIP = idcIP;
    return this;
  }

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

  public void setIdcIP(String idcIP) {
    this.idcIP = idcIP;
  }

  public PrivateLinkForCreateDataMigrateTaskInput idcPort(Integer idcPort) {
    this.idcPort = idcPort;
    return this;
  }

   /**
   * Get idcPort
   * @return idcPort
  **/
  @Schema(description = "")
  public Integer getIdcPort() {
    return idcPort;
  }

  public void setIdcPort(Integer idcPort) {
    this.idcPort = idcPort;
  }

  public PrivateLinkForCreateDataMigrateTaskInput securityGroupIDs(List securityGroupIDs) {
    this.securityGroupIDs = securityGroupIDs;
    return this;
  }

  public PrivateLinkForCreateDataMigrateTaskInput addSecurityGroupIDsItem(String securityGroupIDsItem) {
    if (this.securityGroupIDs == null) {
      this.securityGroupIDs = new ArrayList();
    }
    this.securityGroupIDs.add(securityGroupIDsItem);
    return this;
  }

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

  public void setSecurityGroupIDs(List securityGroupIDs) {
    this.securityGroupIDs = securityGroupIDs;
  }

  public PrivateLinkForCreateDataMigrateTaskInput subnetID(String subnetID) {
    this.subnetID = subnetID;
    return this;
  }

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

  public void setSubnetID(String subnetID) {
    this.subnetID = subnetID;
  }

  public PrivateLinkForCreateDataMigrateTaskInput vpcID(String vpcID) {
    this.vpcID = vpcID;
    return this;
  }

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

  public void setVpcID(String vpcID) {
    this.vpcID = vpcID;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PrivateLinkForCreateDataMigrateTaskInput privateLinkForCreateDataMigrateTaskInput = (PrivateLinkForCreateDataMigrateTaskInput) o;
    return Objects.equals(this.enIRole, privateLinkForCreateDataMigrateTaskInput.enIRole) &&
        Objects.equals(this.idcIP, privateLinkForCreateDataMigrateTaskInput.idcIP) &&
        Objects.equals(this.idcPort, privateLinkForCreateDataMigrateTaskInput.idcPort) &&
        Objects.equals(this.securityGroupIDs, privateLinkForCreateDataMigrateTaskInput.securityGroupIDs) &&
        Objects.equals(this.subnetID, privateLinkForCreateDataMigrateTaskInput.subnetID) &&
        Objects.equals(this.vpcID, privateLinkForCreateDataMigrateTaskInput.vpcID);
  }

  @Override
  public int hashCode() {
    return Objects.hash(enIRole, idcIP, idcPort, securityGroupIDs, subnetID, vpcID);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PrivateLinkForCreateDataMigrateTaskInput {\n");
    
    sb.append("    enIRole: ").append(toIndentedString(enIRole)).append("\n");
    sb.append("    idcIP: ").append(toIndentedString(idcIP)).append("\n");
    sb.append("    idcPort: ").append(toIndentedString(idcPort)).append("\n");
    sb.append("    securityGroupIDs: ").append(toIndentedString(securityGroupIDs)).append("\n");
    sb.append("    subnetID: ").append(toIndentedString(subnetID)).append("\n");
    sb.append("    vpcID: ").append(toIndentedString(vpcID)).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