public class ModifyInstanceAttributesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyInstanceAttributesRequest() | 
| ModifyInstanceAttributesRequest(ModifyInstanceAttributesRequest 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 | 
|---|---|
| ModifyInstanceAttributesConfig | getConfig()Get 实例配置 | 
| Long | getDeleteProtectionEnable()Get 实例删除保护开关: 1 开启  0 关闭 | 
| DynamicDiskConfig | getDynamicDiskConfig()Deprecated.   | 
| DynamicRetentionTime | getDynamicRetentionConfig()Get 动态消息保留策略配置 | 
| String | getInstanceId()Get ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取 | 
| String | getInstanceName()Get ckafka集群实例Name | 
| Long | getMaxMessageByte()Get 实例级别单条消息大小(单位byte)  最大 12582912(不包含)  最小1024(不包含) | 
| Long | getMsgRetentionTime()Get 实例日志的最长保留时间,单位分钟,最大90天,最小为1min | 
| Long | getPublicNetwork()Get 公网带宽 最小3Mbps  最大999Mbps 仅专业版支持填写 | 
| Long | getRebalanceTime()Get 用于修改升级版本或升配定时任务的执行时间,Unix时间戳,精确到秒 | 
| Long | getUncleanLeaderElectionEnable()Get 是否允许未同步的副本选为 leader: 1 开启  0 关闭 | 
| void | setConfig(ModifyInstanceAttributesConfig Config)Set 实例配置 | 
| void | setDeleteProtectionEnable(Long DeleteProtectionEnable)Set 实例删除保护开关: 1 开启  0 关闭 | 
| void | setDynamicDiskConfig(DynamicDiskConfig DynamicDiskConfig)Deprecated.   | 
| void | setDynamicRetentionConfig(DynamicRetentionTime DynamicRetentionConfig)Set 动态消息保留策略配置 | 
| void | setInstanceId(String InstanceId)Set ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取 | 
| void | setInstanceName(String InstanceName)Set ckafka集群实例Name | 
| void | setMaxMessageByte(Long MaxMessageByte)Set 实例级别单条消息大小(单位byte)  最大 12582912(不包含)  最小1024(不包含) | 
| void | setMsgRetentionTime(Long MsgRetentionTime)Set 实例日志的最长保留时间,单位分钟,最大90天,最小为1min | 
| void | setPublicNetwork(Long PublicNetwork)Set 公网带宽 最小3Mbps  最大999Mbps 仅专业版支持填写 | 
| void | setRebalanceTime(Long RebalanceTime)Set 用于修改升级版本或升配定时任务的执行时间,Unix时间戳,精确到秒 | 
| void | setUncleanLeaderElectionEnable(Long UncleanLeaderElectionEnable)Set 是否允许未同步的副本选为 leader: 1 开启  0 关闭 | 
| 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 ModifyInstanceAttributesRequest()
public ModifyInstanceAttributesRequest(ModifyInstanceAttributesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取public Long getMsgRetentionTime()
public void setMsgRetentionTime(Long MsgRetentionTime)
MsgRetentionTime - 实例日志的最长保留时间,单位分钟,最大90天,最小为1minpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - ckafka集群实例Namepublic ModifyInstanceAttributesConfig getConfig()
public void setConfig(ModifyInstanceAttributesConfig Config)
Config - 实例配置public DynamicRetentionTime getDynamicRetentionConfig()
public void setDynamicRetentionConfig(DynamicRetentionTime DynamicRetentionConfig)
DynamicRetentionConfig - 动态消息保留策略配置public Long getRebalanceTime()
public void setRebalanceTime(Long RebalanceTime)
RebalanceTime - 用于修改升级版本或升配定时任务的执行时间,Unix时间戳,精确到秒public Long getPublicNetwork()
public void setPublicNetwork(Long PublicNetwork)
PublicNetwork - 公网带宽 最小3Mbps  最大999Mbps 仅专业版支持填写@Deprecated public DynamicDiskConfig getDynamicDiskConfig()
@Deprecated public void setDynamicDiskConfig(DynamicDiskConfig DynamicDiskConfig)
DynamicDiskConfig - 动态硬盘扩容策略配置public Long getMaxMessageByte()
public void setMaxMessageByte(Long MaxMessageByte)
MaxMessageByte - 实例级别单条消息大小(单位byte)  最大 12582912(不包含)  最小1024(不包含)public Long getUncleanLeaderElectionEnable()
public void setUncleanLeaderElectionEnable(Long UncleanLeaderElectionEnable)
UncleanLeaderElectionEnable - 是否允许未同步的副本选为 leader: 1 开启  0 关闭public Long getDeleteProtectionEnable()
public void setDeleteProtectionEnable(Long DeleteProtectionEnable)
DeleteProtectionEnable - 实例删除保护开关: 1 开启  0 关闭Copyright © 2025. All rights reserved.