Class RolloverConditions.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RolloverConditions.Builder>
co.elastic.clients.elasticsearch.indices.rollover.RolloverConditions.Builder
- All Implemented Interfaces:
WithJson<RolloverConditions.Builder>,ObjectBuilder<RolloverConditions>
- Enclosing class:
- RolloverConditions
public static class RolloverConditions.Builder
extends WithJsonObjectBuilderBase<RolloverConditions.Builder>
implements ObjectBuilder<RolloverConditions>
Builder for
RolloverConditions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRolloverConditions.API name:max_ageAPI name:max_agemaxAgeMillis(Long value) API name:max_age_millisAPI name:max_docsmaxPrimaryShardDocs(Long value) API name:max_primary_shard_docsmaxPrimaryShardSize(String value) API name:max_primary_shard_sizemaxPrimaryShardSizeBytes(Long value) API name:max_primary_shard_size_bytesAPI name:max_sizemaxSizeBytes(Long value) API name:max_size_bytesAPI name:min_ageAPI name:min_ageAPI name:min_docsminPrimaryShardDocs(Long value) API name:min_primary_shard_docsminPrimaryShardSize(String value) API name:min_primary_shard_sizeminPrimaryShardSizeBytes(Long value) API name:min_primary_shard_size_bytesAPI name:min_sizeminSizeBytes(Long value) API name:min_size_bytesprotected RolloverConditions.Builderself()Methods 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
-
minAge
API name:min_age -
minAge
API name:min_age -
maxAge
API name:max_age -
maxAge
API name:max_age -
maxAgeMillis
API name:max_age_millis -
minDocs
API name:min_docs -
maxDocs
API name:max_docs -
maxSize
API name:max_size -
maxSizeBytes
API name:max_size_bytes -
minSize
API name:min_size -
minSizeBytes
API name:min_size_bytes -
maxPrimaryShardSize
API name:max_primary_shard_size -
maxPrimaryShardSizeBytes
API name:max_primary_shard_size_bytes -
minPrimaryShardSize
API name:min_primary_shard_size -
minPrimaryShardSizeBytes
API name:min_primary_shard_size_bytes -
maxPrimaryShardDocs
API name:max_primary_shard_docs -
minPrimaryShardDocs
API name:min_primary_shard_docs -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RolloverConditions.Builder>
-
build
Builds aRolloverConditions.- Specified by:
buildin interfaceObjectBuilder<RolloverConditions>- Throws:
NullPointerException- if some of the required fields are null.
-