Class FieldSecurity.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.FieldSecurity.Builder
- All Implemented Interfaces:
ObjectBuilder<FieldSecurity>
- Enclosing class:
- FieldSecurity
public static class FieldSecurity.Builder extends ObjectBuilderBase implements ObjectBuilder<FieldSecurity>
Builder for
FieldSecurity.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FieldSecuritybuild()Builds aFieldSecurity.FieldSecurity.Builderexcept(java.lang.String value, java.lang.String... values)API name:exceptFieldSecurity.Builderexcept(java.util.List<java.lang.String> list)API name:exceptFieldSecurity.Buildergrant(java.lang.String value, java.lang.String... values)Required - API name:grantFieldSecurity.Buildergrant(java.util.List<java.lang.String> list)Required - API name:grantMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
except
API name:exceptAdds all elements of
listtoexcept. -
except
API name:exceptAdds one or more values to
except. -
grant
Required - API name:grantAdds all elements of
listtogrant. -
grant
Required - API name:grantAdds one or more values to
grant. -
build
Builds aFieldSecurity.- Specified by:
buildin interfaceObjectBuilder<FieldSecurity>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-