public class ModifyIndexRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getIncludeInternalFields()
Get Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`).
|
Long |
getMetadataFlag()
Get Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`).
|
RuleInfo |
getRule()
Get Index rule
|
Boolean |
getStatus()
Get It does not take effect by default
|
String |
getTopicId()
Get Log topic ID
|
void |
setIncludeInternalFields(Boolean IncludeInternalFields)
Set Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`).
|
void |
setMetadataFlag(Long MetadataFlag)
Set Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`).
|
void |
setRule(RuleInfo Rule)
Set Index rule
|
void |
setStatus(Boolean Status)
Set It does not take effect by default
|
void |
setTopicId(String TopicId)
Set Log topic ID
|
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 ModifyIndexRequest()
public ModifyIndexRequest(ModifyIndexRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic IDpublic Boolean getStatus()
public void setStatus(Boolean Status)
Status
- It does not take effect by defaultpublic RuleInfo getRule()
public void setRule(RuleInfo Rule)
Rule
- Index rulepublic Boolean getIncludeInternalFields()
public void setIncludeInternalFields(Boolean IncludeInternalFields)
IncludeInternalFields
- Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`.
`false`: Full-text indexing does not include internal fields.
`true`: Full-text indexing includes internal fields.public Long getMetadataFlag()
public void setMetadataFlag(Long MetadataFlag)
MetadataFlag
- Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`.
`0`: Full-text indexing includes only metadata fields with key-value indexing enabled.
`1`: Full-text indexing includes all metadata fields.
`2`: Full-text indexing does not include metadata fields.Copyright © 2023. All rights reserved.