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__
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getTagJsonNotTiled()
Get 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEnableTag(Boolean EnableTag)
Set 是否投递 TAG 信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetaFields(String[] MetaFields)
Set 需要投递的元数据列表,目前仅支持:__SOURCE__,__FILENAME__和__TIMESTAMP__
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTagJsonNotTiled(Boolean TagJsonNotTiled)
Set 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺
注意:此字段可能返回 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__
注意:此字段可能返回 null,表示取不到有效值。public Boolean getTagJsonNotTiled()
public void setTagJsonNotTiled(Boolean TagJsonNotTiled)
TagJsonNotTiled
- 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.