Class ResetRocketMQConsumerOffSetRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.ResetRocketMQConsumerOffSetRequest
-
public class ResetRocketMQConsumerOffSetRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClusterId()Get 集群IDStringgetGroupId()Get 消费组名称StringgetNamespaceId()Get 命名空间名称LonggetResetTimestamp()Get 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位StringgetTopic()Get 主题名称LonggetType()Get 重置方式,0表示从最新位点开始,1表示从指定时间点开始voidsetClusterId(String ClusterId)Set 集群IDvoidsetGroupId(String GroupId)Set 消费组名称voidsetNamespaceId(String NamespaceId)Set 命名空间名称voidsetResetTimestamp(Long ResetTimestamp)Set 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位voidsetTopic(String Topic)Set 主题名称voidsetType(Long Type)Set 重置方式,0表示从最新位点开始,1表示从指定时间点开始voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ResetRocketMQConsumerOffSetRequest
public ResetRocketMQConsumerOffSetRequest()
-
ResetRocketMQConsumerOffSetRequest
public 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.
-
-
Method Detail
-
getClusterId
public String getClusterId()
Get 集群ID- Returns:
- ClusterId 集群ID
-
setClusterId
public void setClusterId(String ClusterId)
Set 集群ID- Parameters:
ClusterId- 集群ID
-
getNamespaceId
public String getNamespaceId()
Get 命名空间名称- Returns:
- NamespaceId 命名空间名称
-
setNamespaceId
public void setNamespaceId(String NamespaceId)
Set 命名空间名称- Parameters:
NamespaceId- 命名空间名称
-
getGroupId
public String getGroupId()
Get 消费组名称- Returns:
- GroupId 消费组名称
-
setGroupId
public void setGroupId(String GroupId)
Set 消费组名称- Parameters:
GroupId- 消费组名称
-
getTopic
public String getTopic()
Get 主题名称- Returns:
- Topic 主题名称
-
setTopic
public void setTopic(String Topic)
Set 主题名称- Parameters:
Topic- 主题名称
-
getType
public Long getType()
Get 重置方式,0表示从最新位点开始,1表示从指定时间点开始- Returns:
- Type 重置方式,0表示从最新位点开始,1表示从指定时间点开始
-
setType
public void setType(Long Type)
Set 重置方式,0表示从最新位点开始,1表示从指定时间点开始- Parameters:
Type- 重置方式,0表示从最新位点开始,1表示从指定时间点开始
-
getResetTimestamp
public Long getResetTimestamp()
Get 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位- Returns:
- ResetTimestamp 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位
-
setResetTimestamp
public void setResetTimestamp(Long ResetTimestamp)
Set 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位- Parameters:
ResetTimestamp- 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位
-
-