public class FetchMessageListByOffsetRequest extends AbstractModel
Constructor and Description |
---|
FetchMessageListByOffsetRequest() |
FetchMessageListByOffsetRequest(FetchMessageListByOffsetRequest 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 |
getInstanceId()
Get Instance ID
|
Long |
getOffset()
Get Offset information
|
Long |
getPartition()
Get Partition ID
|
Long |
getSinglePartitionRecordNumber()
Get The maximum number of messages that can be queried.
|
String |
getTopic()
Get Topic name
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setOffset(Long Offset)
Set Offset information
|
void |
setPartition(Long Partition)
Set Partition ID
|
void |
setSinglePartitionRecordNumber(Long SinglePartitionRecordNumber)
Set The maximum number of messages that can be queried.
|
void |
setTopic(String Topic)
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 FetchMessageListByOffsetRequest()
public FetchMessageListByOffsetRequest(FetchMessageListByOffsetRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getTopic()
public void setTopic(String Topic)
Topic
- Topic namepublic Long getPartition()
public void setPartition(Long Partition)
Partition
- Partition IDpublic Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset informationpublic Long getSinglePartitionRecordNumber()
public void setSinglePartitionRecordNumber(Long SinglePartitionRecordNumber)
SinglePartitionRecordNumber
- The maximum number of messages that can be queried. Default value: 20. Maximum value: 20.Copyright © 2023. All rights reserved.