Class UpdateMonitorSwitchRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20210527.models.UpdateMonitorSwitchRequest
-
public class UpdateMonitorSwitchRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdateMonitorSwitchRequest()UpdateMonitorSwitchRequest(UpdateMonitorSwitchRequest 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 StringgetInstanceId()Get 实例ID。StringgetProduct()Get 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。StringgetSwitch()Get 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。voidsetInstanceId(String InstanceId)Set 实例ID。voidsetProduct(String Product)Set 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。voidsetSwitch(String Switch)Set 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。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
-
UpdateMonitorSwitchRequest
public UpdateMonitorSwitchRequest()
-
UpdateMonitorSwitchRequest
public UpdateMonitorSwitchRequest(UpdateMonitorSwitchRequest 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
-
getSwitch
public String getSwitch()
Get 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。- Returns:
- Switch 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。
-
setSwitch
public void setSwitch(String Switch)
Set 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。- Parameters:
Switch- 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。
-
getInstanceId
public String getInstanceId()
Get 实例ID。- Returns:
- InstanceId 实例ID。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID。- Parameters:
InstanceId- 实例ID。
-
getProduct
public String getProduct()
Get 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。- Returns:
- Product 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
-
setProduct
public void setProduct(String Product)
Set 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。- Parameters:
Product- 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
-
-