Package com.exoscale.sdk.model
Class DbaasServiceOpensearchIndexTemplate
java.lang.Object
com.exoscale.sdk.model.DbaasServiceOpensearchIndexTemplate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class DbaasServiceOpensearchIndexTemplate
extends Object
Template settings for all new indexes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this dbaas_service_opensearch_index_template object is equal to o.The maximum number of nested JSON objects that a single document can contain across all nested types.The number of replicas each primary shard has.The number of primary shards that an index should have.int
hashCode()
mappingNestedObjectsLimit
(Long mappingNestedObjectsLimit) numberOfReplicas
(Long numberOfReplicas) numberOfShards
(Long numberOfShards) void
setMappingNestedObjectsLimit
(Long mappingNestedObjectsLimit) void
setNumberOfReplicas
(Long numberOfReplicas) void
setNumberOfShards
(Long numberOfShards) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_MAPPING_NESTED_OBJECTS_LIMIT
- See Also:
-
JSON_PROPERTY_NUMBER_OF_REPLICAS
- See Also:
-
JSON_PROPERTY_NUMBER_OF_SHARDS
- See Also:
-
-
Constructor Details
-
DbaasServiceOpensearchIndexTemplate
public DbaasServiceOpensearchIndexTemplate()
-
-
Method Details
-
mappingNestedObjectsLimit
public DbaasServiceOpensearchIndexTemplate mappingNestedObjectsLimit(Long mappingNestedObjectsLimit) -
getMappingNestedObjectsLimit
The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps to prevent out of memory errors when a document contains too many nested objects. Default is 10000. minimum: 0 maximum: 100000- Returns:
- mappingNestedObjectsLimit
-
setMappingNestedObjectsLimit
-
numberOfReplicas
-
getNumberOfReplicas
The number of replicas each primary shard has. minimum: 0 maximum: 29- Returns:
- numberOfReplicas
-
setNumberOfReplicas
-
numberOfShards
-
getNumberOfShards
The number of primary shards that an index should have. minimum: 1 maximum: 1024- Returns:
- numberOfShards
-
setNumberOfShards
-
equals
Return true if this dbaas_service_opensearch_index_template object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-