Class CcrStatsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CcrStatsResponse.Builder>
co.elastic.clients.elasticsearch.ccr.CcrStatsResponse.Builder
- All Implemented Interfaces:
WithJson<CcrStatsResponse.Builder>,ObjectBuilder<CcrStatsResponse>
- Enclosing class:
- CcrStatsResponse
public static class CcrStatsResponse.Builder extends WithJsonObjectBuilderBase<CcrStatsResponse.Builder> implements ObjectBuilder<CcrStatsResponse>
Builder for
CcrStatsResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CcrStatsResponse.BuilderautoFollowStats(AutoFollowStats value)Required - API name:auto_follow_statsCcrStatsResponse.BuilderautoFollowStats(java.util.function.Function<AutoFollowStats.Builder,ObjectBuilder<AutoFollowStats>> fn)Required - API name:auto_follow_statsCcrStatsResponsebuild()Builds aCcrStatsResponse.CcrStatsResponse.BuilderfollowStats(FollowStats value)Required - API name:follow_statsCcrStatsResponse.BuilderfollowStats(java.util.function.Function<FollowStats.Builder,ObjectBuilder<FollowStats>> fn)Required - API name:follow_statsprotected CcrStatsResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoFollowStats
Required - API name:auto_follow_stats -
autoFollowStats
public final CcrStatsResponse.Builder autoFollowStats(java.util.function.Function<AutoFollowStats.Builder,ObjectBuilder<AutoFollowStats>> fn)Required - API name:auto_follow_stats -
followStats
Required - API name:follow_stats -
followStats
public final CcrStatsResponse.Builder followStats(java.util.function.Function<FollowStats.Builder,ObjectBuilder<FollowStats>> fn)Required - API name:follow_stats -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<CcrStatsResponse.Builder>
-
build
Builds aCcrStatsResponse.- Specified by:
buildin interfaceObjectBuilder<CcrStatsResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-