Class SnapshotStatusResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SnapshotStatusResponse.Builder>
co.elastic.clients.elasticsearch.snapshot.SnapshotStatusResponse.Builder
- All Implemented Interfaces:
WithJson<SnapshotStatusResponse.Builder>,ObjectBuilder<SnapshotStatusResponse>
- Enclosing class:
- SnapshotStatusResponse
public static class SnapshotStatusResponse.Builder
extends WithJsonObjectBuilderBase<SnapshotStatusResponse.Builder>
implements ObjectBuilder<SnapshotStatusResponse>
Builder for
SnapshotStatusResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSnapshotStatusResponse.protected SnapshotStatusResponse.Builderself()Required - API name:snapshotsRequired - API name:snapshotsRequired - API name:snapshotsMethods 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
-
snapshots
Required - API name:snapshotsAdds all elements of
listtosnapshots. -
snapshots
Required - API name:snapshotsAdds one or more values to
snapshots. -
snapshots
public final SnapshotStatusResponse.Builder snapshots(Function<Status.Builder, ObjectBuilder<Status>> fn) Required - API name:snapshotsAdds a value to
snapshotsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SnapshotStatusResponse.Builder>
-
build
Builds aSnapshotStatusResponse.- Specified by:
buildin interfaceObjectBuilder<SnapshotStatusResponse>- Throws:
NullPointerException- if some of the required fields are null.
-