public class ConsumerContent extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getEnableTag()
Get 是否投递 TAG 信息
注意:此字段可能返回 null,表示取不到有效值。
|
String[] |
getMetaFields()
Get 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getTagJsonNotTiled()
Get 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTimestampAccuracy()
Get 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEnableTag(Boolean EnableTag)
Set 是否投递 TAG 信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetaFields(String[] MetaFields)
Set 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTagJsonNotTiled(Boolean TagJsonNotTiled)
Set 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTimestampAccuracy(Long TimestampAccuracy)
Set 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒
注意:此字段可能返回 null,表示取不到有效值。
|
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 ConsumerContent()
public ConsumerContent(ConsumerContent source)
public Boolean getEnableTag()
public void setEnableTag(Boolean EnableTag)
EnableTag
- 是否投递 TAG 信息
注意:此字段可能返回 null,表示取不到有效值。public String[] getMetaFields()
public void setMetaFields(String[] MetaFields)
MetaFields
- 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
注意:此字段可能返回 null,表示取不到有效值。public Boolean getTagJsonNotTiled()
public void setTagJsonNotTiled(Boolean TagJsonNotTiled)
TagJsonNotTiled
- 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺
注意:此字段可能返回 null,表示取不到有效值。public Long getTimestampAccuracy()
public void setTimestampAccuracy(Long TimestampAccuracy)
TimestampAccuracy
- 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.