com.volcengine.dms.model.PrivateLinkForQueryDataMigrateTaskOutput 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 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;
/**
* PrivateLinkForQueryDataMigrateTaskOutput
*/
public class PrivateLinkForQueryDataMigrateTaskOutput {
@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 PrivateLinkForQueryDataMigrateTaskOutput 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 PrivateLinkForQueryDataMigrateTaskOutput 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 PrivateLinkForQueryDataMigrateTaskOutput 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 PrivateLinkForQueryDataMigrateTaskOutput securityGroupIDs(List securityGroupIDs) {
this.securityGroupIDs = securityGroupIDs;
return this;
}
public PrivateLinkForQueryDataMigrateTaskOutput 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 PrivateLinkForQueryDataMigrateTaskOutput 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 PrivateLinkForQueryDataMigrateTaskOutput 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;
}
PrivateLinkForQueryDataMigrateTaskOutput privateLinkForQueryDataMigrateTaskOutput = (PrivateLinkForQueryDataMigrateTaskOutput) o;
return Objects.equals(this.enIRole, privateLinkForQueryDataMigrateTaskOutput.enIRole) &&
Objects.equals(this.idcIP, privateLinkForQueryDataMigrateTaskOutput.idcIP) &&
Objects.equals(this.idcPort, privateLinkForQueryDataMigrateTaskOutput.idcPort) &&
Objects.equals(this.securityGroupIDs, privateLinkForQueryDataMigrateTaskOutput.securityGroupIDs) &&
Objects.equals(this.subnetID, privateLinkForQueryDataMigrateTaskOutput.subnetID) &&
Objects.equals(this.vpcID, privateLinkForQueryDataMigrateTaskOutput.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 PrivateLinkForQueryDataMigrateTaskOutput {\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