public class SearchGuardRolesMapping extends Object implements Iterable<SearchGuardRolesMapping.RolesMapping>, SearchGuardACLDocument<SearchGuardRolesMapping>
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchGuardRolesMapping.RolesMapping |
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_ROLE |
static String |
KIBANA_SHARED_NON_OPS_ROLE |
static String |
KIBANA_SHARED_ROLE |
EXPIRES| Constructor and Description |
|---|
SearchGuardRolesMapping() |
SearchGuardRolesMapping(Long version) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(Collection<SearchGuardRolesMapping.RolesMapping> mappings) |
String |
getType() |
Long |
getVersion() |
Iterator<SearchGuardRolesMapping.RolesMapping> |
iterator() |
SearchGuardRolesMapping |
load(Map<String,Object> source) |
void |
removeRolesMapping(SearchGuardRolesMapping.RolesMapping mapping) |
String |
toString() |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String ADMIN_ROLE
public static final String KIBANA_SHARED_ROLE
public static final String KIBANA_SHARED_NON_OPS_ROLE
public SearchGuardRolesMapping()
public SearchGuardRolesMapping(Long version)
public Long getVersion()
getVersion in interface SearchGuardACLDocument<SearchGuardRolesMapping>public Iterator<SearchGuardRolesMapping.RolesMapping> iterator()
iterator in interface Iterable<SearchGuardRolesMapping.RolesMapping>public void removeRolesMapping(SearchGuardRolesMapping.RolesMapping mapping)
public SearchGuardRolesMapping load(Map<String,Object> source)
load in interface SearchGuardACLDocument<SearchGuardRolesMapping>public String getType()
getType in interface SearchGuardACLDocument<SearchGuardRolesMapping>public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentIOExceptionpublic void addAll(Collection<SearchGuardRolesMapping.RolesMapping> mappings)
Copyright © 2015–2018 Red Hat. All rights reserved.