Package com.exoscale.sdk.model
Class ClusterSettings
java.lang.Object
com.exoscale.sdk.model.ClusterSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ClusterSettings
extends Object
ClusterSettings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclusterFilecacheRemoteDataRatio(BigDecimal clusterFilecacheRemoteDataRatio) clusterRemoteStore(ClusterSettingsClusterRemoteStore clusterRemoteStore) clusterRoutingAllocationBalancePreferPrimary(Boolean clusterRoutingAllocationBalancePreferPrimary) clusterSearchRequestSlowlog(ClusterSettingsClusterSearchRequestSlowlog clusterSearchRequestSlowlog) booleanReturn true if this Cluster_settings object is equal to o.Defines a limit of how much total remote data can be referenced as a ratio of the size of the disk reserved for the file cache.org.openapitools.jackson.nullable.JsonNullable<BigDecimal>Get clusterRemoteStoreWhen set to true, OpenSearch attempts to evenly distribute the primary shards between the cluster nodes.Get clusterSearchRequestSlowloginthashCode()voidsetClusterFilecacheRemoteDataRatio(BigDecimal clusterFilecacheRemoteDataRatio) voidsetClusterFilecacheRemoteDataRatio_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigDecimal> clusterFilecacheRemoteDataRatio) voidsetClusterRemoteStore(ClusterSettingsClusterRemoteStore clusterRemoteStore) voidsetClusterRoutingAllocationBalancePreferPrimary(Boolean clusterRoutingAllocationBalancePreferPrimary) voidsetClusterSearchRequestSlowlog(ClusterSettingsClusterSearchRequestSlowlog clusterSearchRequestSlowlog) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CLUSTER_FILECACHE_REMOTE_DATA_RATIO
- See Also:
-
JSON_PROPERTY_CLUSTER_REMOTE_STORE
- See Also:
-
JSON_PROPERTY_CLUSTER_ROUTING_ALLOCATION_BALANCE_PREFER_PRIMARY
- See Also:
-
JSON_PROPERTY_CLUSTER_SEARCH_REQUEST_SLOWLOG
- See Also:
-
-
Constructor Details
-
ClusterSettings
public ClusterSettings()
-
-
Method Details
-
clusterFilecacheRemoteDataRatio
-
getClusterFilecacheRemoteDataRatio
Defines a limit of how much total remote data can be referenced as a ratio of the size of the disk reserved for the file cache. This is designed to be a safeguard to prevent oversubscribing a cluster. Defaults to 0. minimum: 0 maximum: 100- Returns:
- clusterFilecacheRemoteDataRatio
-
getClusterFilecacheRemoteDataRatio_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<BigDecimal> getClusterFilecacheRemoteDataRatio_JsonNullable() -
setClusterFilecacheRemoteDataRatio_JsonNullable
public void setClusterFilecacheRemoteDataRatio_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<BigDecimal> clusterFilecacheRemoteDataRatio) -
setClusterFilecacheRemoteDataRatio
-
clusterRemoteStore
-
getClusterRemoteStore
Get clusterRemoteStore- Returns:
- clusterRemoteStore
-
setClusterRemoteStore
-
clusterRoutingAllocationBalancePreferPrimary
public ClusterSettings clusterRoutingAllocationBalancePreferPrimary(Boolean clusterRoutingAllocationBalancePreferPrimary) -
getClusterRoutingAllocationBalancePreferPrimary
When set to true, OpenSearch attempts to evenly distribute the primary shards between the cluster nodes. Enabling this setting does not always guarantee an equal number of primary shards on each node, especially in the event of a failover. Changing this setting to false after it was set to true does not invoke redistribution of primary shards. Default is false.- Returns:
- clusterRoutingAllocationBalancePreferPrimary
-
setClusterRoutingAllocationBalancePreferPrimary
public void setClusterRoutingAllocationBalancePreferPrimary(Boolean clusterRoutingAllocationBalancePreferPrimary) -
clusterSearchRequestSlowlog
public ClusterSettings clusterSearchRequestSlowlog(ClusterSettingsClusterSearchRequestSlowlog clusterSearchRequestSlowlog) -
getClusterSearchRequestSlowlog
Get clusterSearchRequestSlowlog- Returns:
- clusterSearchRequestSlowlog
-
setClusterSearchRequestSlowlog
public void setClusterSearchRequestSlowlog(ClusterSettingsClusterSearchRequestSlowlog clusterSearchRequestSlowlog) -
equals
Return true if this Cluster_settings 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
-