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