
com.tencentcloudapi.cdb.v20170320.models.SlaveInstanceInfo Maven / Gradle / Ivy
/*
* 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.cdb.v20170320.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class SlaveInstanceInfo extends AbstractModel{
/**
* 端口号
*/
@SerializedName("Vport")
@Expose
private Long Vport;
/**
* 地域信息
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* 虚拟 IP 信息
*/
@SerializedName("Vip")
@Expose
private String Vip;
/**
* 可用区信息
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* Get 端口号
* @return Vport 端口号
*/
public Long getVport() {
return this.Vport;
}
/**
* Set 端口号
* @param Vport 端口号
*/
public void setVport(Long Vport) {
this.Vport = Vport;
}
/**
* Get 地域信息
* @return Region 地域信息
*/
public String getRegion() {
return this.Region;
}
/**
* Set 地域信息
* @param Region 地域信息
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get 虚拟 IP 信息
* @return Vip 虚拟 IP 信息
*/
public String getVip() {
return this.Vip;
}
/**
* Set 虚拟 IP 信息
* @param Vip 虚拟 IP 信息
*/
public void setVip(String Vip) {
this.Vip = Vip;
}
/**
* Get 可用区信息
* @return Zone 可用区信息
*/
public String getZone() {
return this.Zone;
}
/**
* Set 可用区信息
* @param Zone 可用区信息
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Vport", this.Vport);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "Vip", this.Vip);
this.setParamSimple(map, prefix + "Zone", this.Zone);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy