Class OperatingFactor

java.lang.Object
com.exoscale.sdk.model.OperatingFactor

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class OperatingFactor extends Object
OperatingFactor
  • Field Details

  • Constructor Details

    • OperatingFactor

      public OperatingFactor()
  • Method Details

    • upper

      public OperatingFactor upper(BigDecimal upper)
    • getUpper

      @Nullable public BigDecimal getUpper()
      Specify the upper occupancy limit of the allocated quota of memory for the shard. If the total memory usage of a shard is above this limit, shard indexing backpressure increases the current allocated memory for that shard. Default is 0.95 minimum: 0.0
      Returns:
      upper
    • setUpper

      public void setUpper(BigDecimal upper)
    • optimal

      public OperatingFactor optimal(BigDecimal optimal)
    • getOptimal

      @Nullable public BigDecimal getOptimal()
      Specify the optimal occupancy of the allocated quota of memory for the shard. If the total memory usage of a shard is at this level, shard indexing backpressure doesn’t change the current allocated memory for that shard. Default is 0.85 minimum: 0.0
      Returns:
      optimal
    • setOptimal

      public void setOptimal(BigDecimal optimal)
    • lower

      public OperatingFactor lower(BigDecimal lower)
    • getLower

      @Nullable public BigDecimal getLower()
      Specify the lower occupancy limit of the allocated quota of memory for the shard. If the total memory usage of a shard is below this limit, shard indexing backpressure decreases the current allocated memory for that shard. Default is 0.75 minimum: 0.0
      Returns:
      lower
    • setLower

      public void setLower(BigDecimal lower)
    • equals

      public boolean equals(Object o)
      Return true if this Operating_factor 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