public class GovernanceInstance extends AbstractModel
header, skipSign| Constructor and Description |
|---|
GovernanceInstance() |
GovernanceInstance(GovernanceInstance source)
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Get 描述
|
String |
getCreateTime()
Get 实例创建时间。
|
Boolean |
getEnableHealthCheck()
Get 是否开启健康检查。
|
String |
getHealthStatus()
Get 状态信息
|
Boolean |
getHealthy()
Get 实例是否健康。
|
String |
getHost()
Get 实例ip地址。
|
String |
getId()
Get 实例id。
|
String |
getInstanceVersion()
Get 版本信息。
|
Boolean |
getIsolate()
Get 实例是否隔离。
|
Metadata[] |
getMetadatas()
Get 元数据数组。
|
String |
getModifyTime()
Get 实例修改时间。
|
String |
getNamespace()
Get 实例所在命名空间名。
|
Long |
getPort()
Get 实例端口信息。
|
String |
getProtocol()
Get 通信协议。
|
String |
getService()
Get 实例所在服务名。
|
Long |
getTtl()
Get 上报心跳间隔。
|
String |
getVersion()
Get 版本信息。
|
Long |
getWeight()
Get 负载均衡权重。
|
void |
setComment(String Comment)
Set 描述
|
void |
setCreateTime(String CreateTime)
Set 实例创建时间。
|
void |
setEnableHealthCheck(Boolean EnableHealthCheck)
Set 是否开启健康检查。
|
void |
setHealthStatus(String HealthStatus)
Set 状态信息
|
void |
setHealthy(Boolean Healthy)
Set 实例是否健康。
|
void |
setHost(String Host)
Set 实例ip地址。
|
void |
setId(String Id)
Set 实例id。
|
void |
setInstanceVersion(String InstanceVersion)
Set 版本信息。
|
void |
setIsolate(Boolean Isolate)
Set 实例是否隔离。
|
void |
setMetadatas(Metadata[] Metadatas)
Set 元数据数组。
|
void |
setModifyTime(String ModifyTime)
Set 实例修改时间。
|
void |
setNamespace(String Namespace)
Set 实例所在命名空间名。
|
void |
setPort(Long Port)
Set 实例端口信息。
|
void |
setProtocol(String Protocol)
Set 通信协议。
|
void |
setService(String Service)
Set 实例所在服务名。
|
void |
setTtl(Long Ttl)
Set 上报心跳间隔。
|
void |
setVersion(String Version)
Set 版本信息。
|
void |
setWeight(Long Weight)
Set 负载均衡权重。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic GovernanceInstance()
public GovernanceInstance(GovernanceInstance source)
public String getId()
public void setId(String Id)
Id - 实例id。public String getService()
public void setService(String Service)
Service - 实例所在服务名。public String getNamespace()
public void setNamespace(String Namespace)
Namespace - 实例所在命名空间名。public String getHost()
public void setHost(String Host)
Host - 实例ip地址。public Long getPort()
public void setPort(Long Port)
Port - 实例端口信息。public String getProtocol()
public void setProtocol(String Protocol)
Protocol - 通信协议。public String getVersion()
public void setVersion(String Version)
Version - 版本信息。public Long getWeight()
public void setWeight(Long Weight)
Weight - 负载均衡权重。public Boolean getEnableHealthCheck()
public void setEnableHealthCheck(Boolean EnableHealthCheck)
EnableHealthCheck - 是否开启健康检查。public Boolean getHealthy()
public void setHealthy(Boolean Healthy)
Healthy - 实例是否健康。public Boolean getIsolate()
public void setIsolate(Boolean Isolate)
Isolate - 实例是否隔离。public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - 实例创建时间。public String getModifyTime()
public void setModifyTime(String ModifyTime)
ModifyTime - 实例修改时间。public Metadata[] getMetadatas()
public void setMetadatas(Metadata[] Metadatas)
Metadatas - 元数据数组。public Long getTtl()
public void setTtl(Long Ttl)
Ttl - 上报心跳间隔。public String getInstanceVersion()
public void setInstanceVersion(String InstanceVersion)
InstanceVersion - 版本信息。public String getHealthStatus()
public void setHealthStatus(String HealthStatus)
HealthStatus - 状态信息public String getComment()
public void setComment(String Comment)
Comment - 描述Copyright © 2025. All rights reserved.