![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.cdb.v20170320.models.SlaveInstanceInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class SlaveInstanceInfo extends AbstractModel {
/**
* Port number
*/
@SerializedName("Vport")
@Expose
private Long Vport;
/**
* Region information
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* Virtual IP information
*/
@SerializedName("Vip")
@Expose
private String Vip;
/**
* AZ information
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* Get Port number
* @return Vport Port number
*/
public Long getVport() {
return this.Vport;
}
/**
* Set Port number
* @param Vport Port number
*/
public void setVport(Long Vport) {
this.Vport = Vport;
}
/**
* Get Region information
* @return Region Region information
*/
public String getRegion() {
return this.Region;
}
/**
* Set Region information
* @param Region Region information
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get Virtual IP information
* @return Vip Virtual IP information
*/
public String getVip() {
return this.Vip;
}
/**
* Set Virtual IP information
* @param Vip Virtual IP information
*/
public void setVip(String Vip) {
this.Vip = Vip;
}
/**
* Get AZ information
* @return Zone AZ information
*/
public String getZone() {
return this.Zone;
}
/**
* Set AZ information
* @param Zone AZ information
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
public SlaveInstanceInfo() {
}
/**
* 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 SlaveInstanceInfo(SlaveInstanceInfo source) {
if (source.Vport != null) {
this.Vport = new Long(source.Vport);
}
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.Vip != null) {
this.Vip = new String(source.Vip);
}
if (source.Zone != null) {
this.Zone = new String(source.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