public class CreateDatahubTopicRequest extends AbstractModel
Constructor and Description |
---|
CreateDatahubTopicRequest() |
CreateDatahubTopicRequest(CreateDatahubTopicRequest 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 |
getName()
Get Topic name, which is a string of up to 128 characters.
|
String |
getNote()
Get Topic remarks, which are a string of up to 128 characters.
|
Long |
getPartitionNum()
Get Number of partitions, which should be greater than 0.
|
Long |
getRetentionMs()
Get Message retention period in milliseconds.
|
Tag[] |
getTags()
Get Tag list
|
void |
setName(String Name)
Set Topic name, which is a string of up to 128 characters.
|
void |
setNote(String Note)
Set Topic remarks, which are a string of up to 128 characters.
|
void |
setPartitionNum(Long PartitionNum)
Set Number of partitions, which should be greater than 0.
|
void |
setRetentionMs(Long RetentionMs)
Set Message retention period in milliseconds.
|
void |
setTags(Tag[] Tags)
Set Tag list
|
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 CreateDatahubTopicRequest()
public CreateDatahubTopicRequest(CreateDatahubTopicRequest source)
public String getName()
public void setName(String Name)
Name
- Topic name, which is a string of up to 128 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.public Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- Number of partitions, which should be greater than 0.public Long getRetentionMs()
public void setRetentionMs(Long RetentionMs)
RetentionMs
- Message retention period in milliseconds. The current minimum value is 60,000 ms.public String getNote()
public void setNote(String Note)
Note
- Topic remarks, which are a string of up to 128 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag listCopyright © 2023. All rights reserved.