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.BuilderisRedacted(boolean value) Required - indicates if document has been redactedprotected Redact.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<Redact.Builder>
-
build
Builds aRedact.- Specified by:
buildin interfaceObjectBuilder<Redact>- Throws:
NullPointerException- if some of the required fields are null.
-