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