Class CreateResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.CreateResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<CreateResponse>
- Enclosing class:
- CreateResponse
public static class CreateResponse.Builder extends java.lang.Object implements ObjectBuilder<CreateResponse>
Builder for
CreateResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CreateResponse.Builderaccepted(java.lang.Boolean value)API name:acceptedCreateResponsebuild()Builds aCreateResponse.CreateResponse.Buildersnapshot(SnapshotInfo value)API name:snapshotCreateResponse.Buildersnapshot(java.util.function.Function<SnapshotInfo.Builder,ObjectBuilder<SnapshotInfo>> fn)API name:snapshotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accepted
API name:accepted -
snapshot
API name:snapshot -
snapshot
public CreateResponse.Builder snapshot(java.util.function.Function<SnapshotInfo.Builder,ObjectBuilder<SnapshotInfo>> fn)API name:snapshot -
build
Builds aCreateResponse.- Specified by:
buildin interfaceObjectBuilder<CreateResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-