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 Instance configuration
|
DynamicDiskConfig |
getDynamicDiskConfig()
Get Dynamic disk expansion policy configuration.
|
DynamicRetentionTime |
getDynamicRetentionConfig()
Get Dynamic message retention policy configuration
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get Instance name string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`)
|
Long |
getMaxMessageByte()
Get The size of a single message in bytes at the instance level.
|
Long |
getMsgRetentionTime()
Get Maximum retention period in minutes for instance log, which can be up to 30 days.
|
Long |
getPublicNetwork()
Get Public network bandwidth
|
Long |
getRebalanceTime()
Get Modification of the rebalancing time after upgrade
|
void |
setConfig(ModifyInstanceAttributesConfig Config)
Set Instance configuration
|
void |
setDynamicDiskConfig(DynamicDiskConfig DynamicDiskConfig)
Set Dynamic disk expansion policy configuration.
|
void |
setDynamicRetentionConfig(DynamicRetentionTime DynamicRetentionConfig)
Set Dynamic message retention policy configuration
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceName(String InstanceName)
Set Instance name string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`)
|
void |
setMaxMessageByte(Long MaxMessageByte)
Set The size of a single message in bytes at the instance level.
|
void |
setMsgRetentionTime(Long MsgRetentionTime)
Set Maximum retention period in minutes for instance log, which can be up to 30 days.
|
void |
setPublicNetwork(Long PublicNetwork)
Set Public network bandwidth
|
void |
setRebalanceTime(Long RebalanceTime)
Set Modification of the rebalancing time after upgrade
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyInstanceAttributesRequest()
public ModifyInstanceAttributesRequest(ModifyInstanceAttributesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic Long getMsgRetentionTime()
public void setMsgRetentionTime(Long MsgRetentionTime)
MsgRetentionTime
- Maximum retention period in minutes for instance log, which can be up to 30 days. 0 indicates not to enable the log retention period policypublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`)public ModifyInstanceAttributesConfig getConfig()
public void setConfig(ModifyInstanceAttributesConfig Config)
Config
- Instance configurationpublic DynamicRetentionTime getDynamicRetentionConfig()
public void setDynamicRetentionConfig(DynamicRetentionTime DynamicRetentionConfig)
DynamicRetentionConfig
- Dynamic message retention policy configurationpublic Long getRebalanceTime()
public void setRebalanceTime(Long RebalanceTime)
RebalanceTime
- Modification of the rebalancing time after upgradepublic Long getPublicNetwork()
public void setPublicNetwork(Long PublicNetwork)
PublicNetwork
- Public network bandwidthpublic DynamicDiskConfig getDynamicDiskConfig()
public void setDynamicDiskConfig(DynamicDiskConfig DynamicDiskConfig)
DynamicDiskConfig
- Dynamic disk expansion policy configuration.public Long getMaxMessageByte()
public void setMaxMessageByte(Long MaxMessageByte)
MaxMessageByte
- The size of a single message in bytes at the instance level.Copyright © 2024. All rights reserved.