Class MasterIsStableIndicator.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.core.health_report.BaseIndicator.AbstractBuilder<MasterIsStableIndicator.Builder>
co.elastic.clients.elasticsearch.core.health_report.MasterIsStableIndicator.Builder
- All Implemented Interfaces:
WithJson<MasterIsStableIndicator.Builder>,ObjectBuilder<MasterIsStableIndicator>
- Enclosing class:
- MasterIsStableIndicator
public static class MasterIsStableIndicator.Builder
extends BaseIndicator.AbstractBuilder<MasterIsStableIndicator.Builder>
implements ObjectBuilder<MasterIsStableIndicator>
Builder for
MasterIsStableIndicator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMasterIsStableIndicator.API name:detailsdetails(Function<MasterIsStableIndicatorDetails.Builder, ObjectBuilder<MasterIsStableIndicatorDetails>> fn) API name:detailsprotected MasterIsStableIndicator.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.core.health_report.BaseIndicator.AbstractBuilder
diagnosis, diagnosis, diagnosis, impacts, impacts, impacts, status, symptomMethods 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
-
details
public final MasterIsStableIndicator.Builder details(@Nullable MasterIsStableIndicatorDetails value) API name:details -
details
public final MasterIsStableIndicator.Builder details(Function<MasterIsStableIndicatorDetails.Builder, ObjectBuilder<MasterIsStableIndicatorDetails>> fn) API name:details -
self
- Specified by:
selfin classBaseIndicator.AbstractBuilder<MasterIsStableIndicator.Builder>
-
build
Builds aMasterIsStableIndicator.- Specified by:
buildin interfaceObjectBuilder<MasterIsStableIndicator>- Throws:
NullPointerException- if some of the required fields are null.
-