Class RolloverConditions.Builder
java.lang.Object
org.opensearch.client.opensearch.indices.rollover.RolloverConditions.Builder
- All Implemented Interfaces:
ObjectBuilder<RolloverConditions>
- Enclosing class:
- RolloverConditions
public static class RolloverConditions.Builder extends java.lang.Object implements ObjectBuilder<RolloverConditions>
Builder for
RolloverConditions
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V>
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description RolloverConditions
build()
Builds aRolloverConditions
.RolloverConditions.Builder
maxAge(jakarta.json.JsonValue value)
API name:max_age
RolloverConditions.Builder
maxDocs(java.lang.Number value)
API name:max_docs
RolloverConditions.Builder
maxPrimaryShardSize(jakarta.json.JsonValue value)
API name:max_primary_shard_size
RolloverConditions.Builder
maxSize(java.lang.String value)
API name:max_size
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxAge
API name:max_age
-
maxDocs
API name:max_docs
-
maxSize
API name:max_size
-
maxPrimaryShardSize
API name:max_primary_shard_size
-
build
Builds aRolloverConditions
.- Specified by:
build
in interfaceObjectBuilder<RolloverConditions>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-