Class TopicParam
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.TopicParam
-
public class TopicParam extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TopicParam()TopicParam(TopicParam 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 StringgetCompressionType()Get 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。LonggetMsgMultiple()Get 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。StringgetOffsetType()Get Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。StringgetResource()Get 单独售卖Topic的Topic名称LonggetStartTime()Get Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。StringgetTopicId()Get Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。BooleangetUseAutoCreateTopic()Get 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。voidsetCompressionType(String CompressionType)Set 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgMultiple(Long MsgMultiple)Set 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。voidsetOffsetType(String OffsetType)Set Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。voidsetResource(String Resource)Set 单独售卖Topic的Topic名称voidsetStartTime(Long StartTime)Set Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。voidsetTopicId(String TopicId)Set Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。voidsetUseAutoCreateTopic(Boolean UseAutoCreateTopic)Set 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。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
-
TopicParam
public TopicParam()
-
TopicParam
public TopicParam(TopicParam 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
-
getResource
public String getResource()
Get 单独售卖Topic的Topic名称- Returns:
- Resource 单独售卖Topic的Topic名称
-
setResource
public void setResource(String Resource)
Set 单独售卖Topic的Topic名称- Parameters:
Resource- 单独售卖Topic的Topic名称
-
getOffsetType
public String getOffsetType()
Get Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- OffsetType Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。
-
setOffsetType
public void setOffsetType(String OffsetType)
Set Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
OffsetType- Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。
-
getStartTime
public Long getStartTime()
Get Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- StartTime Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。
-
setStartTime
public void setStartTime(Long StartTime)
Set Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
StartTime- Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。
-
getTopicId
public String getTopicId()
Get Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TopicId Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。
-
setTopicId
public void setTopicId(String TopicId)
Set Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TopicId- Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。
-
getCompressionType
public String getCompressionType()
Get 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CompressionType 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。
-
setCompressionType
public void setCompressionType(String CompressionType)
Set 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CompressionType- 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。
-
getUseAutoCreateTopic
public Boolean getUseAutoCreateTopic()
Get 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UseAutoCreateTopic 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。
-
setUseAutoCreateTopic
public void setUseAutoCreateTopic(Boolean UseAutoCreateTopic)
Set 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UseAutoCreateTopic- 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgMultiple
public Long getMsgMultiple()
Get 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgMultiple 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgMultiple
public void setMsgMultiple(Long MsgMultiple)
Set 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgMultiple- 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。
-
-