Class 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
    • Constructor Detail

      • UpdateDbaasServiceOpensearchRequestIndexTemplate

        public UpdateDbaasServiceOpensearchRequestIndexTemplate()
    • Method Detail

      • 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)
      • 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)
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string