Class AutoFollowStats.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowStats.Builder
- All Implemented Interfaces:
ObjectBuilder<AutoFollowStats>
- Enclosing class:
- AutoFollowStats
public static class AutoFollowStats.Builder extends java.lang.Object implements ObjectBuilder<AutoFollowStats>
Builder for
AutoFollowStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoFollowedClusters
Required - API name:auto_followed_clusters -
autoFollowedClusters
Required - API name:auto_followed_clusters -
addAutoFollowedClusters
Add a value toautoFollowedClusters(List), creating the list if needed. -
autoFollowedClusters
public AutoFollowStats.Builder autoFollowedClusters(java.util.function.Function<AutoFollowedCluster.Builder,ObjectBuilder<AutoFollowedCluster>> fn)SetautoFollowedClusters(List)to a singleton list. -
addAutoFollowedClusters
public AutoFollowStats.Builder addAutoFollowedClusters(java.util.function.Function<AutoFollowedCluster.Builder,ObjectBuilder<AutoFollowedCluster>> fn)Add a value toautoFollowedClusters(List), creating the list if needed. -
numberOfFailedFollowIndices
Required - API name:number_of_failed_follow_indices -
numberOfFailedRemoteClusterStateRequests
Required - API name:number_of_failed_remote_cluster_state_requests -
numberOfSuccessfulFollowIndices
Required - API name:number_of_successful_follow_indices -
recentAutoFollowErrors
Required - API name:recent_auto_follow_errors -
recentAutoFollowErrors
Required - API name:recent_auto_follow_errors -
addRecentAutoFollowErrors
Add a value torecentAutoFollowErrors(List), creating the list if needed. -
recentAutoFollowErrors
public AutoFollowStats.Builder recentAutoFollowErrors(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)SetrecentAutoFollowErrors(List)to a singleton list. -
addRecentAutoFollowErrors
public AutoFollowStats.Builder addRecentAutoFollowErrors(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)Add a value torecentAutoFollowErrors(List), creating the list if needed. -
build
Builds aAutoFollowStats.- Specified by:
buildin interfaceObjectBuilder<AutoFollowStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-