Class Redact.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Redact.Builder>
co.elastic.clients.elasticsearch.ingest.Redact.Builder
- All Implemented Interfaces:
WithJson<Redact.Builder>
,ObjectBuilder<Redact>
- Enclosing class:
- Redact
public static class Redact.Builder
extends WithJsonObjectBuilderBase<Redact.Builder>
implements ObjectBuilder<Redact>
Builder for
Redact
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRedact
.final Redact.Builder
isRedacted
(boolean value) Required - indicates if document has been redactedprotected Redact.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isRedacted
Required - indicates if document has been redactedAPI name:
_is_redacted
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Redact.Builder>
-
build
Builds aRedact
.- Specified by:
build
in interfaceObjectBuilder<Redact>
- Throws:
NullPointerException
- if some of the required fields are null.
-