Class ModifyIndexRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.ModifyIndexRequest
-
public class ModifyIndexRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyIndexRequest()
ModifyIndexRequest(ModifyIndexRequest 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 Boolean
getIncludeInternalFields()
Get 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true false:不包含 true:包含Long
getMetadataFlag()
Get 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 0:仅包含开启键值索引的元数据字段 1:包含所有元数据字段 2:不包含任何元数据字段RuleInfo
getRule()
Get 索引规则Boolean
getStatus()
Get 默认不生效String
getTopicId()
Get 日志主题IDvoid
setIncludeInternalFields(Boolean IncludeInternalFields)
Set 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true false:不包含 true:包含void
setMetadataFlag(Long MetadataFlag)
Set 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 0:仅包含开启键值索引的元数据字段 1:包含所有元数据字段 2:不包含任何元数据字段void
setRule(RuleInfo Rule)
Set 索引规则void
setStatus(Boolean Status)
Set 默认不生效void
setTopicId(String TopicId)
Set 日志主题IDvoid
toMap(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
-
ModifyIndexRequest
public ModifyIndexRequest()
-
ModifyIndexRequest
public ModifyIndexRequest(ModifyIndexRequest 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
-
getTopicId
public String getTopicId()
Get 日志主题ID- Returns:
- TopicId 日志主题ID
-
setTopicId
public void setTopicId(String TopicId)
Set 日志主题ID- Parameters:
TopicId
- 日志主题ID
-
getStatus
public Boolean getStatus()
Get 默认不生效- Returns:
- Status 默认不生效
-
setStatus
public void setStatus(Boolean Status)
Set 默认不生效- Parameters:
Status
- 默认不生效
-
getRule
public RuleInfo getRule()
Get 索引规则- Returns:
- Rule 索引规则
-
setRule
public void setRule(RuleInfo Rule)
Set 索引规则- Parameters:
Rule
- 索引规则
-
getIncludeInternalFields
public Boolean getIncludeInternalFields()
Get 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true false:不包含 true:包含- Returns:
- IncludeInternalFields 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true false:不包含 true:包含
-
setIncludeInternalFields
public void setIncludeInternalFields(Boolean IncludeInternalFields)
Set 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true false:不包含 true:包含- Parameters:
IncludeInternalFields
- 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true false:不包含 true:包含
-
getMetadataFlag
public Long getMetadataFlag()
Get 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 0:仅包含开启键值索引的元数据字段 1:包含所有元数据字段 2:不包含任何元数据字段- Returns:
- MetadataFlag 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 0:仅包含开启键值索引的元数据字段 1:包含所有元数据字段 2:不包含任何元数据字段
-
setMetadataFlag
public void setMetadataFlag(Long MetadataFlag)
Set 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 0:仅包含开启键值索引的元数据字段 1:包含所有元数据字段 2:不包含任何元数据字段- Parameters:
MetadataFlag
- 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 0:仅包含开启键值索引的元数据字段 1:包含所有元数据字段 2:不包含任何元数据字段
-
-