public class Environment extends AbstractModel
Constructor and Description |
---|
Environment() |
Environment(Environment 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 |
---|---|
String |
getCreateTime()
Get Creation time
|
String |
getEnvironmentId()
Get Namespace name
|
Long |
getMsgTTL()
Get TTL for unconsumed messages in seconds.
|
String |
getNamespaceId()
Get Namespace ID
|
String |
getNamespaceName()
Get Namespace name
|
String |
getRemark()
Get Remarks
|
RetentionPolicy |
getRetentionPolicy()
Get Message retention policy
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getTopicNum()
Get Number of topics
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getUpdateTime()
Get Modification time
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setEnvironmentId(String EnvironmentId)
Set Namespace name
|
void |
setMsgTTL(Long MsgTTL)
Set TTL for unconsumed messages in seconds.
|
void |
setNamespaceId(String NamespaceId)
Set Namespace ID
|
void |
setNamespaceName(String NamespaceName)
Set Namespace name
|
void |
setRemark(String Remark)
Set Remarks
|
void |
setRetentionPolicy(RetentionPolicy RetentionPolicy)
Set Message retention policy
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setTopicNum(Long TopicNum)
Set Number of topics
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Modification time
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Environment()
public Environment(Environment source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- Namespace namepublic String getRemark()
public void setRemark(String Remark)
Remark
- Remarkspublic Long getMsgTTL()
public void setMsgTTL(Long MsgTTL)
MsgTTL
- TTL for unconsumed messages in seconds. Maximum value: 1296000 seconds (i.e., 15 days)public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Modification timepublic String getNamespaceId()
public void setNamespaceId(String NamespaceId)
NamespaceId
- Namespace IDpublic String getNamespaceName()
public void setNamespaceName(String NamespaceName)
NamespaceName
- Namespace namepublic Long getTopicNum()
public void setTopicNum(Long TopicNum)
TopicNum
- Number of topics
Note: this field may return null, indicating that no valid values can be obtained.public RetentionPolicy getRetentionPolicy()
public void setRetentionPolicy(RetentionPolicy RetentionPolicy)
RetentionPolicy
- Message retention policy
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.