Class SwitchLog
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sqlserver.v20180328.models.SwitchLog
-
public class SwitchLog extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEndTime()
Get 切换结束时间 注意:此字段可能返回 null,表示取不到有效值。String
getEventId()
Get 切换事件ID 注意:此字段可能返回 null,表示取不到有效值。String
getReason()
Get 机器故障导致自动切换 注意:此字段可能返回 null,表示取不到有效值。String
getStartTime()
Get 切换开始时间 注意:此字段可能返回 null,表示取不到有效值。Long
getSwitchType()
Get 切换模式 0-系统自动切换,1-手动切换 注意:此字段可能返回 null,表示取不到有效值。void
setEndTime(String EndTime)
Set 切换结束时间 注意:此字段可能返回 null,表示取不到有效值。void
setEventId(String EventId)
Set 切换事件ID 注意:此字段可能返回 null,表示取不到有效值。void
setReason(String Reason)
Set 机器故障导致自动切换 注意:此字段可能返回 null,表示取不到有效值。void
setStartTime(String StartTime)
Set 切换开始时间 注意:此字段可能返回 null,表示取不到有效值。void
setSwitchType(Long SwitchType)
Set 切换模式 0-系统自动切换,1-手动切换 注意:此字段可能返回 null,表示取不到有效值。void
toMap(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
-
SwitchLog
public SwitchLog()
-
SwitchLog
public SwitchLog(SwitchLog 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
-
getEventId
public String getEventId()
Get 切换事件ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EventId 切换事件ID 注意:此字段可能返回 null,表示取不到有效值。
-
setEventId
public void setEventId(String EventId)
Set 切换事件ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EventId
- 切换事件ID 注意:此字段可能返回 null,表示取不到有效值。
-
getSwitchType
public Long getSwitchType()
Get 切换模式 0-系统自动切换,1-手动切换 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SwitchType 切换模式 0-系统自动切换,1-手动切换 注意:此字段可能返回 null,表示取不到有效值。
-
setSwitchType
public void setSwitchType(Long SwitchType)
Set 切换模式 0-系统自动切换,1-手动切换 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SwitchType
- 切换模式 0-系统自动切换,1-手动切换 注意:此字段可能返回 null,表示取不到有效值。
-
getStartTime
public String getStartTime()
Get 切换开始时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- StartTime 切换开始时间 注意:此字段可能返回 null,表示取不到有效值。
-
setStartTime
public void setStartTime(String StartTime)
Set 切换开始时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
StartTime
- 切换开始时间 注意:此字段可能返回 null,表示取不到有效值。
-
getEndTime
public String getEndTime()
Get 切换结束时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EndTime 切换结束时间 注意:此字段可能返回 null,表示取不到有效值。
-
setEndTime
public void setEndTime(String EndTime)
Set 切换结束时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EndTime
- 切换结束时间 注意:此字段可能返回 null,表示取不到有效值。
-
getReason
public String getReason()
Get 机器故障导致自动切换 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Reason 机器故障导致自动切换 注意:此字段可能返回 null,表示取不到有效值。
-
setReason
public void setReason(String Reason)
Set 机器故障导致自动切换 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Reason
- 机器故障导致自动切换 注意:此字段可能返回 null,表示取不到有效值。
-
-