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 Details

    • JSON_PROPERTY_CLUSTER_FILECACHE_REMOTE_DATA_RATIO

      public static final String JSON_PROPERTY_CLUSTER_FILECACHE_REMOTE_DATA_RATIO
      See Also:
    • JSON_PROPERTY_CLUSTER_REMOTE_STORE

      public static final String JSON_PROPERTY_CLUSTER_REMOTE_STORE
      See Also:
    • JSON_PROPERTY_CLUSTER_ROUTING_ALLOCATION_BALANCE_PREFER_PRIMARY

      public static final String JSON_PROPERTY_CLUSTER_ROUTING_ALLOCATION_BALANCE_PREFER_PRIMARY
      See Also:
    • JSON_PROPERTY_CLUSTER_SEARCH_REQUEST_SLOWLOG

      public static final String JSON_PROPERTY_CLUSTER_SEARCH_REQUEST_SLOWLOG
      See Also:
  • Constructor Details

    • ClusterSettings

      public ClusterSettings()
  • Method Details

    • clusterFilecacheRemoteDataRatio

      public ClusterSettings clusterFilecacheRemoteDataRatio(BigDecimal clusterFilecacheRemoteDataRatio)
    • getClusterFilecacheRemoteDataRatio

      @Nullable public BigDecimal 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

      public void setClusterFilecacheRemoteDataRatio(BigDecimal clusterFilecacheRemoteDataRatio)
    • clusterRemoteStore

      public ClusterSettings clusterRemoteStore(ClusterSettingsClusterRemoteStore clusterRemoteStore)
    • getClusterRemoteStore

      @Nullable public ClusterSettingsClusterRemoteStore getClusterRemoteStore()
      Get clusterRemoteStore
      Returns:
      clusterRemoteStore
    • setClusterRemoteStore

      public void setClusterRemoteStore(ClusterSettingsClusterRemoteStore clusterRemoteStore)
    • clusterRoutingAllocationBalancePreferPrimary

      public ClusterSettings clusterRoutingAllocationBalancePreferPrimary(Boolean clusterRoutingAllocationBalancePreferPrimary)
    • getClusterRoutingAllocationBalancePreferPrimary

      @Nullable public Boolean 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

      @Nullable public ClusterSettingsClusterSearchRequestSlowlog getClusterSearchRequestSlowlog()
      Get clusterSearchRequestSlowlog
      Returns:
      clusterSearchRequestSlowlog
    • setClusterSearchRequestSlowlog

      public void setClusterSearchRequestSlowlog(ClusterSettingsClusterSearchRequestSlowlog clusterSearchRequestSlowlog)
    • equals

      public boolean equals(Object o)
      Return true if this Cluster_settings object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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