类 OTSTunnelConfig
- java.lang.Object
-
- xin.manong.weapon.aliyun.secret.DynamicSecretConfig
-
- xin.manong.weapon.aliyun.ots.OTSTunnelConfig
-
public class OTSTunnelConfig extends DynamicSecretConfig
OTS通道配置- 作者:
- frankcl
-
-
字段概要
字段 修饰符和类型 字段 说明 StringendpointStringinstanceList<OTSTunnelWorkerConfig>workerConfigs-
从类继承的字段 xin.manong.weapon.aliyun.secret.DynamicSecretConfig
aliyunSecret, dynamic
-
-
构造器概要
构造器 构造器 说明 OTSTunnelConfig()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanaddTunnelWorkerConfig(OTSTunnelWorkerConfig workerConfig)添加通道worker配置booleancheck()检测OTS通道配置有效性voidremoveTunnelWorkerConfig(OTSTunnelWorkerConfig workerConfig)移除通道worker配置
-
-
-
字段详细资料
-
endpoint
public String endpoint
-
instance
public String instance
-
workerConfigs
public List<OTSTunnelWorkerConfig> workerConfigs
-
-
方法详细资料
-
addTunnelWorkerConfig
public boolean addTunnelWorkerConfig(OTSTunnelWorkerConfig workerConfig)
添加通道worker配置- 参数:
workerConfig- 通道worker配置- 返回:
- 添加成功返回true,否则返回false
-
removeTunnelWorkerConfig
public void removeTunnelWorkerConfig(OTSTunnelWorkerConfig workerConfig)
移除通道worker配置- 参数:
workerConfig- 通道worker配置
-
check
public boolean check()
检测OTS通道配置有效性- 覆盖:
check在类中DynamicSecretConfig- 返回:
- 有效返回true,否则返回false
-
-