Class ConsumerContent
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.ConsumerContent
-
public class ConsumerContent extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ConsumerContent()ConsumerContent(ConsumerContent 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 BooleangetEnableTag()Get 是否投递 TAG 信息 注意:此字段可能返回 null,表示取不到有效值。String[]getMetaFields()Get 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ 注意:此字段可能返回 null,表示取不到有效值。BooleangetTagJsonNotTiled()Get 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 注意:此字段可能返回 null,表示取不到有效值。LonggetTimestampAccuracy()Get 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 注意:此字段可能返回 null,表示取不到有效值。voidsetEnableTag(Boolean EnableTag)Set 是否投递 TAG 信息 注意:此字段可能返回 null,表示取不到有效值。voidsetMetaFields(String[] MetaFields)Set 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ 注意:此字段可能返回 null,表示取不到有效值。voidsetTagJsonNotTiled(Boolean TagJsonNotTiled)Set 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 注意:此字段可能返回 null,表示取不到有效值。voidsetTimestampAccuracy(Long TimestampAccuracy)Set 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 注意:此字段可能返回 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
-
ConsumerContent
public ConsumerContent()
-
ConsumerContent
public ConsumerContent(ConsumerContent 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
-
getEnableTag
public Boolean getEnableTag()
Get 是否投递 TAG 信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EnableTag 是否投递 TAG 信息 注意:此字段可能返回 null,表示取不到有效值。
-
setEnableTag
public void setEnableTag(Boolean EnableTag)
Set 是否投递 TAG 信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EnableTag- 是否投递 TAG 信息 注意:此字段可能返回 null,表示取不到有效值。
-
getMetaFields
public String[] getMetaFields()
Get 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MetaFields 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ 注意:此字段可能返回 null,表示取不到有效值。
-
setMetaFields
public void setMetaFields(String[] MetaFields)
Set 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MetaFields- 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ 注意:此字段可能返回 null,表示取不到有效值。
-
getTagJsonNotTiled
public Boolean getTagJsonNotTiled()
Get 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TagJsonNotTiled 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 注意:此字段可能返回 null,表示取不到有效值。
-
setTagJsonNotTiled
public void setTagJsonNotTiled(Boolean TagJsonNotTiled)
Set 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TagJsonNotTiled- 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 注意:此字段可能返回 null,表示取不到有效值。
-
getTimestampAccuracy
public Long getTimestampAccuracy()
Get 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TimestampAccuracy 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 注意:此字段可能返回 null,表示取不到有效值。
-
setTimestampAccuracy
public void setTimestampAccuracy(Long TimestampAccuracy)
Set 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TimestampAccuracy- 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 注意:此字段可能返回 null,表示取不到有效值。
-
-