Class ReadException.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.ReadException.Builder
- All Implemented Interfaces:
ObjectBuilder<ReadException>
- Enclosing class:
- ReadException
public static class ReadException.Builder extends java.lang.Object implements ObjectBuilder<ReadException>
Builder for
ReadException.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ReadExceptionbuild()Builds aReadException.ReadException.Builderexception(ErrorCause value)Required - API name:exceptionReadException.Builderexception(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)Required - API name:exceptionReadException.BuilderfromSeqNo(int value)Required - API name:from_seq_noReadException.Builderretries(int value)Required - API name:retriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exception
Required - API name:exception -
exception
public ReadException.Builder exception(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)Required - API name:exception -
fromSeqNo
Required - API name:from_seq_no -
retries
Required - API name:retries -
build
Builds aReadException.- Specified by:
buildin interfaceObjectBuilder<ReadException>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-