
com.tencentcloudapi.tcaplusdb.v20190823.models.ClusterInfo 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.tcaplusdb.v20190823.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ClusterInfo extends AbstractModel{
/**
* 集群名称
*/
@SerializedName("ClusterName")
@Expose
private String ClusterName;
/**
* 集群ID
*/
@SerializedName("ClusterId")
@Expose
private String ClusterId;
/**
* 集群所在地域
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX`
*/
@SerializedName("IdlType")
@Expose
private String IdlType;
/**
* 网络类型
*/
@SerializedName("NetworkType")
@Expose
private String NetworkType;
/**
* 集群关联的用户私有网络实例ID
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* 集群关联的用户子网实例ID
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* 创建时间
*/
@SerializedName("CreatedTime")
@Expose
private String CreatedTime;
/**
* 集群密码
*/
@SerializedName("Password")
@Expose
private String Password;
/**
* 密码状态
*/
@SerializedName("PasswordStatus")
@Expose
private String PasswordStatus;
/**
* TcaplusDB SDK连接参数,接入ID
*/
@SerializedName("ApiAccessId")
@Expose
private String ApiAccessId;
/**
* TcaplusDB SDK连接参数,接入地址
*/
@SerializedName("ApiAccessIp")
@Expose
private String ApiAccessIp;
/**
* TcaplusDB SDK连接参数,接入端口
*/
@SerializedName("ApiAccessPort")
@Expose
private Long ApiAccessPort;
/**
* 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("OldPasswordExpireTime")
@Expose
private String OldPasswordExpireTime;
/**
* Get 集群名称
* @return ClusterName 集群名称
*/
public String getClusterName() {
return this.ClusterName;
}
/**
* Set 集群名称
* @param ClusterName 集群名称
*/
public void setClusterName(String ClusterName) {
this.ClusterName = ClusterName;
}
/**
* Get 集群ID
* @return ClusterId 集群ID
*/
public String getClusterId() {
return this.ClusterId;
}
/**
* Set 集群ID
* @param ClusterId 集群ID
*/
public void setClusterId(String ClusterId) {
this.ClusterId = ClusterId;
}
/**
* Get 集群所在地域
* @return Region 集群所在地域
*/
public String getRegion() {
return this.Region;
}
/**
* Set 集群所在地域
* @param Region 集群所在地域
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX`
* @return IdlType 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX`
*/
public String getIdlType() {
return this.IdlType;
}
/**
* Set 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX`
* @param IdlType 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX`
*/
public void setIdlType(String IdlType) {
this.IdlType = IdlType;
}
/**
* Get 网络类型
* @return NetworkType 网络类型
*/
public String getNetworkType() {
return this.NetworkType;
}
/**
* Set 网络类型
* @param NetworkType 网络类型
*/
public void setNetworkType(String NetworkType) {
this.NetworkType = NetworkType;
}
/**
* Get 集群关联的用户私有网络实例ID
* @return VpcId 集群关联的用户私有网络实例ID
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 集群关联的用户私有网络实例ID
* @param VpcId 集群关联的用户私有网络实例ID
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get 集群关联的用户子网实例ID
* @return SubnetId 集群关联的用户子网实例ID
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set 集群关联的用户子网实例ID
* @param SubnetId 集群关联的用户子网实例ID
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get 创建时间
* @return CreatedTime 创建时间
*/
public String getCreatedTime() {
return this.CreatedTime;
}
/**
* Set 创建时间
* @param CreatedTime 创建时间
*/
public void setCreatedTime(String CreatedTime) {
this.CreatedTime = CreatedTime;
}
/**
* Get 集群密码
* @return Password 集群密码
*/
public String getPassword() {
return this.Password;
}
/**
* Set 集群密码
* @param Password 集群密码
*/
public void setPassword(String Password) {
this.Password = Password;
}
/**
* Get 密码状态
* @return PasswordStatus 密码状态
*/
public String getPasswordStatus() {
return this.PasswordStatus;
}
/**
* Set 密码状态
* @param PasswordStatus 密码状态
*/
public void setPasswordStatus(String PasswordStatus) {
this.PasswordStatus = PasswordStatus;
}
/**
* Get TcaplusDB SDK连接参数,接入ID
* @return ApiAccessId TcaplusDB SDK连接参数,接入ID
*/
public String getApiAccessId() {
return this.ApiAccessId;
}
/**
* Set TcaplusDB SDK连接参数,接入ID
* @param ApiAccessId TcaplusDB SDK连接参数,接入ID
*/
public void setApiAccessId(String ApiAccessId) {
this.ApiAccessId = ApiAccessId;
}
/**
* Get TcaplusDB SDK连接参数,接入地址
* @return ApiAccessIp TcaplusDB SDK连接参数,接入地址
*/
public String getApiAccessIp() {
return this.ApiAccessIp;
}
/**
* Set TcaplusDB SDK连接参数,接入地址
* @param ApiAccessIp TcaplusDB SDK连接参数,接入地址
*/
public void setApiAccessIp(String ApiAccessIp) {
this.ApiAccessIp = ApiAccessIp;
}
/**
* Get TcaplusDB SDK连接参数,接入端口
* @return ApiAccessPort TcaplusDB SDK连接参数,接入端口
*/
public Long getApiAccessPort() {
return this.ApiAccessPort;
}
/**
* Set TcaplusDB SDK连接参数,接入端口
* @param ApiAccessPort TcaplusDB SDK连接参数,接入端口
*/
public void setApiAccessPort(Long ApiAccessPort) {
this.ApiAccessPort = ApiAccessPort;
}
/**
* Get 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空
注意:此字段可能返回 null,表示取不到有效值。
* @return OldPasswordExpireTime 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getOldPasswordExpireTime() {
return this.OldPasswordExpireTime;
}
/**
* Set 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空
注意:此字段可能返回 null,表示取不到有效值。
* @param OldPasswordExpireTime 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setOldPasswordExpireTime(String OldPasswordExpireTime) {
this.OldPasswordExpireTime = OldPasswordExpireTime;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ClusterName", this.ClusterName);
this.setParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "IdlType", this.IdlType);
this.setParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.setParamSimple(map, prefix + "Password", this.Password);
this.setParamSimple(map, prefix + "PasswordStatus", this.PasswordStatus);
this.setParamSimple(map, prefix + "ApiAccessId", this.ApiAccessId);
this.setParamSimple(map, prefix + "ApiAccessIp", this.ApiAccessIp);
this.setParamSimple(map, prefix + "ApiAccessPort", this.ApiAccessPort);
this.setParamSimple(map, prefix + "OldPasswordExpireTime", this.OldPasswordExpireTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy