Package com.exoscale.sdk.model
Class UpdateDbaasServiceOpensearchRequestIndexTemplate
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateDbaasServiceOpensearchRequestIndexTemplate
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateDbaasServiceOpensearchRequestIndexTemplate extends Object
Template settings for all new indexes
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_MAPPING_NESTED_OBJECTS_LIMIT
static String
JSON_PROPERTY_NUMBER_OF_REPLICAS
static String
JSON_PROPERTY_NUMBER_OF_SHARDS
-
Constructor Summary
Constructors Constructor Description UpdateDbaasServiceOpensearchRequestIndexTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this update_dbaas_service_opensearch_request_index_template object is equal to o.Long
getMappingNestedObjectsLimit()
The maximum number of nested JSON objects that a single document can contain across all nested types.Long
getNumberOfReplicas()
The number of replicas each primary shard has.Long
getNumberOfShards()
The number of primary shards that an index should have.int
hashCode()
UpdateDbaasServiceOpensearchRequestIndexTemplate
mappingNestedObjectsLimit(Long mappingNestedObjectsLimit)
UpdateDbaasServiceOpensearchRequestIndexTemplate
numberOfReplicas(Long numberOfReplicas)
UpdateDbaasServiceOpensearchRequestIndexTemplate
numberOfShards(Long numberOfShards)
void
setMappingNestedObjectsLimit(Long mappingNestedObjectsLimit)
void
setNumberOfReplicas(Long numberOfReplicas)
void
setNumberOfShards(Long numberOfShards)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_MAPPING_NESTED_OBJECTS_LIMIT
public static final String JSON_PROPERTY_MAPPING_NESTED_OBJECTS_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NUMBER_OF_REPLICAS
public static final String JSON_PROPERTY_NUMBER_OF_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NUMBER_OF_SHARDS
public static final String JSON_PROPERTY_NUMBER_OF_SHARDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
mappingNestedObjectsLimit
public UpdateDbaasServiceOpensearchRequestIndexTemplate mappingNestedObjectsLimit(Long mappingNestedObjectsLimit)
-
getMappingNestedObjectsLimit
@Nullable public Long 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
public void setMappingNestedObjectsLimit(Long mappingNestedObjectsLimit)
-
numberOfReplicas
public UpdateDbaasServiceOpensearchRequestIndexTemplate numberOfReplicas(Long numberOfReplicas)
-
getNumberOfReplicas
@Nullable public Long getNumberOfReplicas()
The number of replicas each primary shard has. minimum: 0 maximum: 29- Returns:
- numberOfReplicas
-
setNumberOfReplicas
public void setNumberOfReplicas(Long numberOfReplicas)
-
numberOfShards
public UpdateDbaasServiceOpensearchRequestIndexTemplate numberOfShards(Long numberOfShards)
-
getNumberOfShards
@Nullable public Long getNumberOfShards()
The number of primary shards that an index should have. minimum: 1 maximum: 1024- Returns:
- numberOfShards
-
setNumberOfShards
public void setNumberOfShards(Long numberOfShards)
-
equals
public boolean equals(Object o)
Return true if this update_dbaas_service_opensearch_request_index_template object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-