Package com.floragunn.searchguard.sgconf
Class ConfigModelV7.IndexPattern
- java.lang.Object
-
- com.floragunn.searchguard.sgconf.ConfigModelV7.IndexPattern
-
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
- Enclosing class:
- ConfigModelV7
public static class ConfigModelV7.IndexPattern extends Object implements org.elasticsearch.common.xcontent.ToXContentObject
-
-
Constructor Summary
Constructors Constructor Description IndexPattern(String indexPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigModelV7.IndexPatternaddFlsFields(List<String> flsFields)ConfigModelV7.IndexPatternaddMaskedFields(List<String> maskedFields)ConfigModelV7.IndexPatternaddPerm(Set<String> perms)booleanequals(Object obj)StringgetDlsQuery(User user)Set<String>getFls()Set<String>getMaskedFields()Set<String>getPerms()StringgetUnresolvedIndexPattern(User user)inthashCode()ConfigModelV7.IndexPatternsetDlsQuery(String dlsQuery)StringtoString()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
-
-
Constructor Detail
-
IndexPattern
public IndexPattern(String indexPattern)
-
-
Method Detail
-
addFlsFields
public ConfigModelV7.IndexPattern addFlsFields(List<String> flsFields)
-
addMaskedFields
public ConfigModelV7.IndexPattern addMaskedFields(List<String> maskedFields)
-
addPerm
public ConfigModelV7.IndexPattern addPerm(Set<String> perms)
-
setDlsQuery
public ConfigModelV7.IndexPattern setDlsQuery(String dlsQuery)
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
IOException
-
-