public class ModifyTopicRequest extends AbstractModel
Constructor and Description |
---|
ModifyTopicRequest() |
ModifyTopicRequest(ModifyTopicRequest 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.
|
Long |
getPartitions()
Get Number of partitions, which must be equal to or greater than the original number of partitions.
|
String |
getRemark()
Get Remarks (up to 128 characters).
|
String |
getTopicName()
Get Topic name.
|
void |
setClusterId(String ClusterId)
Set Pulsar cluster ID
|
void |
setEnvironmentId(String EnvironmentId)
Set Environment (namespace) name.
|
void |
setPartitions(Long Partitions)
Set Number of partitions, which must be equal to or greater than the original number of partitions.
|
void |
setRemark(String Remark)
Set Remarks (up to 128 characters).
|
void |
setTopicName(String TopicName)
Set Topic name.
|
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 ModifyTopicRequest()
public ModifyTopicRequest(ModifyTopicRequest 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
- Number of partitions, which must be equal to or greater than the original number of partitions. To maintain the original number of partitions, enter the original number. Modifying the number of partitions will take effect only for non-globally sequential messages. There can be up to 128 partitions.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 IDCopyright © 2023. All rights reserved.