public class SwitchInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SwitchInfo() | 
| SwitchInfo(SwitchInfo 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 | 
|---|---|
| Boolean | getEnable()Get 开启标识符 true代表开启 | 
| String | getErrorMsg()Get 获取日志状态失败时,返回错误信息 | 
| String | getLogsetId()Get CLS日志集ID | 
| String | getStatus()Get 日志主题状态,opened表示已开启,opening开启中,closed表示已关闭,closing 表示关闭中 | 
| String | getTopicId()Get CLS日志主题ID | 
| String | getTopicRegion()Get CLS日志主题所属region | 
| Boolean | getUpgradeAble()Get 是否可升级 | 
| String | getVersion()Get 当前log-agent版本 | 
| void | setEnable(Boolean Enable)Set 开启标识符 true代表开启 | 
| void | setErrorMsg(String ErrorMsg)Set 获取日志状态失败时,返回错误信息 | 
| void | setLogsetId(String LogsetId)Set CLS日志集ID | 
| void | setStatus(String Status)Set 日志主题状态,opened表示已开启,opening开启中,closed表示已关闭,closing 表示关闭中 | 
| void | setTopicId(String TopicId)Set CLS日志主题ID | 
| void | setTopicRegion(String TopicRegion)Set CLS日志主题所属region | 
| void | setUpgradeAble(Boolean UpgradeAble)Set 是否可升级 | 
| void | setVersion(String Version)Set 当前log-agent版本 | 
| 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 SwitchInfo()
public SwitchInfo(SwitchInfo source)
public Boolean getEnable()
public void setEnable(Boolean Enable)
Enable - 开启标识符 true代表开启public String getErrorMsg()
public void setErrorMsg(String ErrorMsg)
ErrorMsg - 获取日志状态失败时,返回错误信息public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId - CLS日志集IDpublic String getStatus()
public void setStatus(String Status)
Status - 日志主题状态,opened表示已开启,opening开启中,closed表示已关闭,closing 表示关闭中public String getTopicId()
public void setTopicId(String TopicId)
TopicId - CLS日志主题IDpublic String getTopicRegion()
public void setTopicRegion(String TopicRegion)
TopicRegion - CLS日志主题所属regionpublic Boolean getUpgradeAble()
public void setUpgradeAble(Boolean UpgradeAble)
UpgradeAble - 是否可升级public String getVersion()
public void setVersion(String Version)
Version - 当前log-agent版本Copyright © 2025. All rights reserved.