Package com.exoscale.sdk.model
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 Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_LOWER
static String
JSON_PROPERTY_OPTIMAL
static String
JSON_PROPERTY_UPPER
-
Constructor Summary
Constructors Constructor Description OperatingFactor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this Operating_factor object is equal to o.BigDecimal
getLower()
Specify the lower occupancy limit of the allocated quota of memory for the shard.BigDecimal
getOptimal()
Specify the optimal occupancy of the allocated quota of memory for the shard.BigDecimal
getUpper()
Specify the upper occupancy limit of the allocated quota of memory for the shard.int
hashCode()
OperatingFactor
lower(BigDecimal lower)
OperatingFactor
optimal(BigDecimal optimal)
void
setLower(BigDecimal lower)
void
setOptimal(BigDecimal optimal)
void
setUpper(BigDecimal upper)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.OperatingFactor
upper(BigDecimal upper)
-
-
-
Field Detail
-
JSON_PROPERTY_UPPER
public static final String JSON_PROPERTY_UPPER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPTIMAL
public static final String JSON_PROPERTY_OPTIMAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOWER
public static final String JSON_PROPERTY_LOWER
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-