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

com.tencentcloudapi.ckafka.v20190819.models.DorisConnectParam Maven / Gradle / Ivy

There is a newer version: 3.1.1105
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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.
 */
package com.tencentcloudapi.ckafka.v20190819.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DorisConnectParam extends AbstractModel{

    /**
    * Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Port")
    @Expose
    private Long Port;

    /**
    * Doris 连接源的用户名
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("UserName")
    @Expose
    private String UserName;

    /**
    * Doris 连接源的密码
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Password")
    @Expose
    private String Password;

    /**
    * Doris 连接源的实例资源
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Resource")
    @Expose
    private String Resource;

    /**
    * Doris 连接源的实例vip,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("ServiceVip")
    @Expose
    private String ServiceVip;

    /**
    * Doris 连接源的vpcId,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("UniqVpcId")
    @Expose
    private String UniqVpcId;

    /**
    * 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("IsUpdate")
    @Expose
    private Boolean IsUpdate;

    /**
    * Doris 连接源是否为自建集群
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("SelfBuilt")
    @Expose
    private Boolean SelfBuilt;

    /**
    * Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("BePort")
    @Expose
    private Long BePort;

    /**
     * Get Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Port Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getPort() {
        return this.Port;
    }

    /**
     * Set Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
注意:此字段可能返回 null,表示取不到有效值。
     * @param Port Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setPort(Long Port) {
        this.Port = Port;
    }

    /**
     * Get Doris 连接源的用户名
注意:此字段可能返回 null,表示取不到有效值。 
     * @return UserName Doris 连接源的用户名
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getUserName() {
        return this.UserName;
    }

    /**
     * Set Doris 连接源的用户名
注意:此字段可能返回 null,表示取不到有效值。
     * @param UserName Doris 连接源的用户名
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setUserName(String UserName) {
        this.UserName = UserName;
    }

    /**
     * Get Doris 连接源的密码
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Password Doris 连接源的密码
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getPassword() {
        return this.Password;
    }

    /**
     * Set Doris 连接源的密码
注意:此字段可能返回 null,表示取不到有效值。
     * @param Password Doris 连接源的密码
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setPassword(String Password) {
        this.Password = Password;
    }

    /**
     * Get Doris 连接源的实例资源
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Resource Doris 连接源的实例资源
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getResource() {
        return this.Resource;
    }

    /**
     * Set Doris 连接源的实例资源
注意:此字段可能返回 null,表示取不到有效值。
     * @param Resource Doris 连接源的实例资源
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setResource(String Resource) {
        this.Resource = Resource;
    }

    /**
     * Get Doris 连接源的实例vip,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。 
     * @return ServiceVip Doris 连接源的实例vip,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getServiceVip() {
        return this.ServiceVip;
    }

    /**
     * Set Doris 连接源的实例vip,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
     * @param ServiceVip Doris 连接源的实例vip,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setServiceVip(String ServiceVip) {
        this.ServiceVip = ServiceVip;
    }

    /**
     * Get Doris 连接源的vpcId,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。 
     * @return UniqVpcId Doris 连接源的vpcId,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getUniqVpcId() {
        return this.UniqVpcId;
    }

    /**
     * Set Doris 连接源的vpcId,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
     * @param UniqVpcId Doris 连接源的vpcId,当为腾讯云实例时,必填
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setUniqVpcId(String UniqVpcId) {
        this.UniqVpcId = UniqVpcId;
    }

    /**
     * Get 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。 
     * @return IsUpdate 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Boolean getIsUpdate() {
        return this.IsUpdate;
    }

    /**
     * Set 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。
     * @param IsUpdate 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setIsUpdate(Boolean IsUpdate) {
        this.IsUpdate = IsUpdate;
    }

    /**
     * Get Doris 连接源是否为自建集群
注意:此字段可能返回 null,表示取不到有效值。 
     * @return SelfBuilt Doris 连接源是否为自建集群
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Boolean getSelfBuilt() {
        return this.SelfBuilt;
    }

    /**
     * Set Doris 连接源是否为自建集群
注意:此字段可能返回 null,表示取不到有效值。
     * @param SelfBuilt Doris 连接源是否为自建集群
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setSelfBuilt(Boolean SelfBuilt) {
        this.SelfBuilt = SelfBuilt;
    }

    /**
     * Get Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
注意:此字段可能返回 null,表示取不到有效值。 
     * @return BePort Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getBePort() {
        return this.BePort;
    }

    /**
     * Set Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
注意:此字段可能返回 null,表示取不到有效值。
     * @param BePort Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setBePort(Long BePort) {
        this.BePort = BePort;
    }

    public DorisConnectParam() {
    }

    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public DorisConnectParam(DorisConnectParam source) {
        if (source.Port != null) {
            this.Port = new Long(source.Port);
        }
        if (source.UserName != null) {
            this.UserName = new String(source.UserName);
        }
        if (source.Password != null) {
            this.Password = new String(source.Password);
        }
        if (source.Resource != null) {
            this.Resource = new String(source.Resource);
        }
        if (source.ServiceVip != null) {
            this.ServiceVip = new String(source.ServiceVip);
        }
        if (source.UniqVpcId != null) {
            this.UniqVpcId = new String(source.UniqVpcId);
        }
        if (source.IsUpdate != null) {
            this.IsUpdate = new Boolean(source.IsUpdate);
        }
        if (source.SelfBuilt != null) {
            this.SelfBuilt = new Boolean(source.SelfBuilt);
        }
        if (source.BePort != null) {
            this.BePort = new Long(source.BePort);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Port", this.Port);
        this.setParamSimple(map, prefix + "UserName", this.UserName);
        this.setParamSimple(map, prefix + "Password", this.Password);
        this.setParamSimple(map, prefix + "Resource", this.Resource);
        this.setParamSimple(map, prefix + "ServiceVip", this.ServiceVip);
        this.setParamSimple(map, prefix + "UniqVpcId", this.UniqVpcId);
        this.setParamSimple(map, prefix + "IsUpdate", this.IsUpdate);
        this.setParamSimple(map, prefix + "SelfBuilt", this.SelfBuilt);
        this.setParamSimple(map, prefix + "BePort", this.BePort);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy