public class CreateTopicResponse extends AbstractModel
Constructor and Description |
---|
CreateTopicResponse() |
CreateTopicResponse(CreateTopicResponse 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 |
getEnvironmentId()
Get Environment (namespace) name.
|
Long |
getPartitions()
Get Valid value: 0 or 1.
|
String |
getRemark()
Get Remarks (up to 128 characters).
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getTopicName()
Get Topic name.
|
Long |
getTopicType()
Get 0: General message;
1: Globally sequential message;
2: Partitionally sequential message;
3: Retry letter topic;
4: Dead letter topic.
|
void |
setEnvironmentId(String EnvironmentId)
Set Environment (namespace) name.
|
void |
setPartitions(Long Partitions)
Set Valid value: 0 or 1.
|
void |
setRemark(String Remark)
Set Remarks (up to 128 characters).
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setTopicName(String TopicName)
Set Topic name.
|
void |
setTopicType(Long TopicType)
Set 0: General message;
1: Globally sequential message;
2: Partitionally sequential message;
3: Retry letter topic;
4: Dead letter topic.
|
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 CreateTopicResponse()
public CreateTopicResponse(CreateTopicResponse source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- Environment (namespace) name.public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic name.public Long getPartitions()
public void setPartitions(Long Partitions)
Partitions
- Valid value: 0 or 1. Non-partitioned topic: No partitions. A value greater than 1: The partition count of a partitioned topic. `0` is returned for existing non-partitioned topics, and `1` is returned for incremental non-partitioned topics.public String getRemark()
public void setRemark(String Remark)
Remark
- Remarks (up to 128 characters).
Note: this field may return null, indicating that no valid values can be obtained.public Long getTopicType()
public void setTopicType(Long TopicType)
TopicType
- 0: General message;
1: Globally sequential message;
2: Partitionally sequential message;
3: Retry letter topic;
4: Dead letter topic.
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.