Class StatsResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.StatsResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<StatsResponse>
- Enclosing class:
- StatsResponse
public static class StatsResponse.Builder extends java.lang.Object implements ObjectBuilder<StatsResponse>
Builder for
StatsResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StatsResponse.BuilderautoFollowStats(AutoFollowStats value)Required - API name:auto_follow_statsStatsResponse.BuilderautoFollowStats(java.util.function.Function<AutoFollowStats.Builder,ObjectBuilder<AutoFollowStats>> fn)Required - API name:auto_follow_statsStatsResponsebuild()Builds aStatsResponse.StatsResponse.BuilderfollowStats(FollowStats value)Required - API name:follow_statsStatsResponse.BuilderfollowStats(java.util.function.Function<FollowStats.Builder,ObjectBuilder<FollowStats>> fn)Required - API name:follow_statsMethods 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 StatsResponse.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 StatsResponse.Builder followStats(java.util.function.Function<FollowStats.Builder,ObjectBuilder<FollowStats>> fn)Required - API name:follow_stats -
build
Builds aStatsResponse.- Specified by:
buildin interfaceObjectBuilder<StatsResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-