public class CreateEnvironmentRequest extends AbstractModel
Constructor and Description |
---|
CreateEnvironmentRequest() |
CreateEnvironmentRequest(CreateEnvironmentRequest 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 |
getClusterId()
Get Pulsar cluster ID
|
String |
getEnvironmentId()
Get Environment (namespace) name, which can contain up to 16 letters, digits, hyphens, and underscores.
|
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 |
setClusterId(String ClusterId)
Set Pulsar cluster ID
|
void |
setEnvironmentId(String EnvironmentId)
Set Environment (namespace) name, which can contain up to 16 letters, digits, hyphens, and underscores.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateEnvironmentRequest()
public CreateEnvironmentRequest(CreateEnvironmentRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- Environment (namespace) name, which can contain up to 16 letters, digits, hyphens, and underscores.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
- Pulsar cluster IDpublic RetentionPolicy getRetentionPolicy()
public void setRetentionPolicy(RetentionPolicy RetentionPolicy)
RetentionPolicy
- Message retention policyCopyright © 2023. All rights reserved.