public class ModifyEnvironmentAttributesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyEnvironmentAttributesRequest() |
ModifyEnvironmentAttributesRequest(ModifyEnvironmentAttributesRequest 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 |
getAutoSubscriptionCreation()
Get Whether to enable "Auto-Create Subscription"
|
String |
getClusterId()
Get Cluster ID
|
String |
getEnvironmentId()
Get Namespace name.
|
Long |
getMsgTTL()
Get Retention period for unconsumed messages in seconds.
|
String |
getRemark()
Get Remarks (up to 128 characters).
|
RetentionPolicy |
getRetentionPolicy()
Get Message retention policy
|
void |
setAutoSubscriptionCreation(Boolean AutoSubscriptionCreation)
Set Whether to enable "Auto-Create Subscription"
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setEnvironmentId(String EnvironmentId)
Set Namespace name.
|
void |
setMsgTTL(Long MsgTTL)
Set Retention period for unconsumed messages in seconds.
|
void |
setRemark(String Remark)
Set Remarks (up to 128 characters).
|
void |
setRetentionPolicy(RetentionPolicy RetentionPolicy)
Set Message retention policy
|
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 ModifyEnvironmentAttributesRequest()
public ModifyEnvironmentAttributesRequest(ModifyEnvironmentAttributesRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- Namespace name.public Long getMsgTTL()
public void setMsgTTL(Long MsgTTL)
MsgTTL
- Retention period for unconsumed messages in seconds. Value range: 60s to 1,296,000s (or 15 days).public String getRemark()
public void setRemark(String Remark)
Remark
- Remarks (up to 128 characters).public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic RetentionPolicy getRetentionPolicy()
public void setRetentionPolicy(RetentionPolicy RetentionPolicy)
RetentionPolicy
- Message retention policypublic Boolean getAutoSubscriptionCreation()
public void setAutoSubscriptionCreation(Boolean AutoSubscriptionCreation)
AutoSubscriptionCreation
- Whether to enable "Auto-Create Subscription"Copyright © 2024. All rights reserved.