Class ModifyInstanceAttributesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.ModifyInstanceAttributesRequest
-
public class ModifyInstanceAttributesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyInstanceAttributesConfig
getConfig()
Get 实例配置DynamicDiskConfig
getDynamicDiskConfig()
Get 动态硬盘扩容策略配置DynamicRetentionTime
getDynamicRetentionConfig()
Get 动态消息保留策略配置String
getInstanceId()
Get 实例idString
getInstanceName()
Get 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)Long
getMaxMessageByte()
Get 实例级别单条消息大小(单位byte)Long
getMsgRetentionTime()
Get 实例日志的最长保留时间,单位分钟,最大30天,0代表不开启日志保留时间回收策略Long
getPublicNetwork()
Get 公网带宽Long
getRebalanceTime()
Get 升配Rebalance时间void
setConfig(ModifyInstanceAttributesConfig Config)
Set 实例配置void
setDynamicDiskConfig(DynamicDiskConfig DynamicDiskConfig)
Set 动态硬盘扩容策略配置void
setDynamicRetentionConfig(DynamicRetentionTime DynamicRetentionConfig)
Set 动态消息保留策略配置void
setInstanceId(String InstanceId)
Set 实例idvoid
setInstanceName(String InstanceName)
Set 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)void
setMaxMessageByte(Long MaxMessageByte)
Set 实例级别单条消息大小(单位byte)void
setMsgRetentionTime(Long MsgRetentionTime)
Set 实例日志的最长保留时间,单位分钟,最大30天,0代表不开启日志保留时间回收策略void
setPublicNetwork(Long PublicNetwork)
Set 公网带宽void
setRebalanceTime(Long RebalanceTime)
Set 升配Rebalance时间void
toMap(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
-
ModifyInstanceAttributesRequest
public ModifyInstanceAttributesRequest()
-
ModifyInstanceAttributesRequest
public 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例id- Returns:
- InstanceId 实例id
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例id- Parameters:
InstanceId
- 实例id
-
getMsgRetentionTime
public Long getMsgRetentionTime()
Get 实例日志的最长保留时间,单位分钟,最大30天,0代表不开启日志保留时间回收策略- Returns:
- MsgRetentionTime 实例日志的最长保留时间,单位分钟,最大30天,0代表不开启日志保留时间回收策略
-
setMsgRetentionTime
public void setMsgRetentionTime(Long MsgRetentionTime)
Set 实例日志的最长保留时间,单位分钟,最大30天,0代表不开启日志保留时间回收策略- Parameters:
MsgRetentionTime
- 实例日志的最长保留时间,单位分钟,最大30天,0代表不开启日志保留时间回收策略
-
getInstanceName
public String getInstanceName()
Get 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)- Returns:
- InstanceName 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
-
setInstanceName
public void setInstanceName(String InstanceName)
Set 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)- Parameters:
InstanceName
- 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
-
getConfig
public ModifyInstanceAttributesConfig getConfig()
Get 实例配置- Returns:
- Config 实例配置
-
setConfig
public void setConfig(ModifyInstanceAttributesConfig Config)
Set 实例配置- Parameters:
Config
- 实例配置
-
getDynamicRetentionConfig
public DynamicRetentionTime getDynamicRetentionConfig()
Get 动态消息保留策略配置- Returns:
- DynamicRetentionConfig 动态消息保留策略配置
-
setDynamicRetentionConfig
public void setDynamicRetentionConfig(DynamicRetentionTime DynamicRetentionConfig)
Set 动态消息保留策略配置- Parameters:
DynamicRetentionConfig
- 动态消息保留策略配置
-
getRebalanceTime
public Long getRebalanceTime()
Get 升配Rebalance时间- Returns:
- RebalanceTime 升配Rebalance时间
-
setRebalanceTime
public void setRebalanceTime(Long RebalanceTime)
Set 升配Rebalance时间- Parameters:
RebalanceTime
- 升配Rebalance时间
-
getPublicNetwork
public Long getPublicNetwork()
Get 公网带宽- Returns:
- PublicNetwork 公网带宽
-
setPublicNetwork
public void setPublicNetwork(Long PublicNetwork)
Set 公网带宽- Parameters:
PublicNetwork
- 公网带宽
-
getDynamicDiskConfig
public DynamicDiskConfig getDynamicDiskConfig()
Get 动态硬盘扩容策略配置- Returns:
- DynamicDiskConfig 动态硬盘扩容策略配置
-
setDynamicDiskConfig
public void setDynamicDiskConfig(DynamicDiskConfig DynamicDiskConfig)
Set 动态硬盘扩容策略配置- Parameters:
DynamicDiskConfig
- 动态硬盘扩容策略配置
-
getMaxMessageByte
public Long getMaxMessageByte()
Get 实例级别单条消息大小(单位byte)- Returns:
- MaxMessageByte 实例级别单条消息大小(单位byte)
-
setMaxMessageByte
public void setMaxMessageByte(Long MaxMessageByte)
Set 实例级别单条消息大小(单位byte)- Parameters:
MaxMessageByte
- 实例级别单条消息大小(单位byte)
-
-