Class DCNReplicaStatus
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mariadb.v20170312.models.DCNReplicaStatus
-
public class DCNReplicaStatus extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DCNReplicaStatus()DCNReplicaStatus(DCNReplicaStatus 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDelay()Get 当前延迟情况,取备实例的 master 节点的 delay 值StringgetStatus()Get DCN 的运行状态,START为正常运行,STOP为暂停, 注意:此字段可能返回 null,表示取不到有效值。voidsetDelay(Long Delay)Set 当前延迟情况,取备实例的 master 节点的 delay 值voidsetStatus(String Status)Set DCN 的运行状态,START为正常运行,STOP为暂停, 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DCNReplicaStatus
public DCNReplicaStatus()
-
DCNReplicaStatus
public DCNReplicaStatus(DCNReplicaStatus 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.
-
-
Method Detail
-
getStatus
public String getStatus()
Get DCN 的运行状态,START为正常运行,STOP为暂停, 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Status DCN 的运行状态,START为正常运行,STOP为暂停, 注意:此字段可能返回 null,表示取不到有效值。
-
setStatus
public void setStatus(String Status)
Set DCN 的运行状态,START为正常运行,STOP为暂停, 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Status- DCN 的运行状态,START为正常运行,STOP为暂停, 注意:此字段可能返回 null,表示取不到有效值。
-
getDelay
public Long getDelay()
Get 当前延迟情况,取备实例的 master 节点的 delay 值- Returns:
- Delay 当前延迟情况,取备实例的 master 节点的 delay 值
-
setDelay
public void setDelay(Long Delay)
Set 当前延迟情况,取备实例的 master 节点的 delay 值- Parameters:
Delay- 当前延迟情况,取备实例的 master 节点的 delay 值
-
-