Class FollowIndexStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FollowIndexStats.Builder>
co.elastic.clients.elasticsearch.ccr.FollowIndexStats.Builder
- All Implemented Interfaces:
WithJson<FollowIndexStats.Builder>,ObjectBuilder<FollowIndexStats>
- Enclosing class:
- FollowIndexStats
public static class FollowIndexStats.Builder extends WithJsonObjectBuilderBase<FollowIndexStats.Builder> implements ObjectBuilder<FollowIndexStats>
Builder for
FollowIndexStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FollowIndexStatsbuild()Builds aFollowIndexStats.FollowIndexStats.Builderindex(java.lang.String value)Required - API name:indexprotected FollowIndexStats.Builderself()FollowIndexStats.Buildershards(ShardStats value, ShardStats... values)Required - API name:shardsFollowIndexStats.Buildershards(java.util.function.Function<ShardStats.Builder,ObjectBuilder<ShardStats>> fn)Required - API name:shardsFollowIndexStats.Buildershards(java.util.List<ShardStats> list)Required - API name:shardsMethods 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
-
index
Required - API name:index -
shards
Required - API name:shardsAdds all elements of
listtoshards. -
shards
Required - API name:shardsAdds one or more values to
shards. -
shards
public final FollowIndexStats.Builder shards(java.util.function.Function<ShardStats.Builder,ObjectBuilder<ShardStats>> fn)Required - API name:shardsAdds a value to
shardsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FollowIndexStats.Builder>
-
build
Builds aFollowIndexStats.- Specified by:
buildin interfaceObjectBuilder<FollowIndexStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-