public class ResetRocketMQConsumerOffSetRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ResetRocketMQConsumerOffSetRequest() |
ResetRocketMQConsumerOffSetRequest(ResetRocketMQConsumerOffSetRequest 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 Cluster ID.
|
String |
getGroupId()
Get Consumer group name.
|
String |
getNamespaceId()
Get Namespace name.
|
Long |
getResetTimestamp()
Get The specified timestamp that has been reset, in milliseconds.
|
String |
getTopic()
Get Topic name.
|
Long |
getType()
Get Reset method.
|
void |
setClusterId(String ClusterId)
Set Cluster ID.
|
void |
setGroupId(String GroupId)
Set Consumer group name.
|
void |
setNamespaceId(String NamespaceId)
Set Namespace name.
|
void |
setResetTimestamp(Long ResetTimestamp)
Set The specified timestamp that has been reset, in milliseconds.
|
void |
setTopic(String Topic)
Set Topic name.
|
void |
setType(Long Type)
Set Reset method.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ResetRocketMQConsumerOffSetRequest()
public ResetRocketMQConsumerOffSetRequest(ResetRocketMQConsumerOffSetRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Cluster ID.public String getNamespaceId()
public void setNamespaceId(String NamespaceId)
NamespaceId - Namespace name.public String getGroupId()
public void setGroupId(String GroupId)
GroupId - Consumer group name.public String getTopic()
public void setTopic(String Topic)
Topic - Topic name.public Long getType()
public void setType(Long Type)
Type - Reset method. 0: Start from the latest offset; 1: Start from specified time point.public Long getResetTimestamp()
public void setResetTimestamp(Long ResetTimestamp)
ResetTimestamp - The specified timestamp that has been reset, in milliseconds. This parameter only takes effect when the value of `Type` is `1`.Copyright © 2025. All rights reserved.