Package com.exoscale.sdk.model
Class ShardIndexingBackPressureSettings
- java.lang.Object
-
- com.exoscale.sdk.model.ShardIndexingBackPressureSettings
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ShardIndexingBackPressureSettings extends Object
ShardIndexingBackPressureSettings
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ENABLED
static String
JSON_PROPERTY_ENFORCED
static String
JSON_PROPERTY_OPERATING_FACTOR
static String
JSON_PROPERTY_PRIMARY_PARAMETER
-
Constructor Summary
Constructors Constructor Description ShardIndexingBackPressureSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardIndexingBackPressureSettings
enabled(Boolean enabled)
ShardIndexingBackPressureSettings
enforced(Boolean enforced)
boolean
equals(Object o)
Return true if this Shard_indexing_back_pressure_settings object is equal to o.Boolean
getEnabled()
Enable or disable shard indexing backpressure.Boolean
getEnforced()
Run shard indexing backpressure in shadow mode or enforced mode.OperatingFactor
getOperatingFactor()
Get operatingFactorPrimaryParameter
getPrimaryParameter()
Get primaryParameterint
hashCode()
ShardIndexingBackPressureSettings
operatingFactor(OperatingFactor operatingFactor)
ShardIndexingBackPressureSettings
primaryParameter(PrimaryParameter primaryParameter)
void
setEnabled(Boolean enabled)
void
setEnforced(Boolean enforced)
void
setOperatingFactor(OperatingFactor operatingFactor)
void
setPrimaryParameter(PrimaryParameter primaryParameter)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_PRIMARY_PARAMETER
public static final String JSON_PROPERTY_PRIMARY_PARAMETER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPERATING_FACTOR
public static final String JSON_PROPERTY_OPERATING_FACTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENFORCED
public static final String JSON_PROPERTY_ENFORCED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
primaryParameter
public ShardIndexingBackPressureSettings primaryParameter(PrimaryParameter primaryParameter)
-
getPrimaryParameter
@Nullable public PrimaryParameter getPrimaryParameter()
Get primaryParameter- Returns:
- primaryParameter
-
setPrimaryParameter
public void setPrimaryParameter(PrimaryParameter primaryParameter)
-
operatingFactor
public ShardIndexingBackPressureSettings operatingFactor(OperatingFactor operatingFactor)
-
getOperatingFactor
@Nullable public OperatingFactor getOperatingFactor()
Get operatingFactor- Returns:
- operatingFactor
-
setOperatingFactor
public void setOperatingFactor(OperatingFactor operatingFactor)
-
enforced
public ShardIndexingBackPressureSettings enforced(Boolean enforced)
-
getEnforced
@Nullable public Boolean getEnforced()
Run shard indexing backpressure in shadow mode or enforced mode. In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics, but it doesn’t actually reject any indexing requests. In enforced mode (value set as true), shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance. Default is false- Returns:
- enforced
-
setEnforced
public void setEnforced(Boolean enforced)
-
enabled
public ShardIndexingBackPressureSettings enabled(Boolean enabled)
-
getEnabled
@Nullable public Boolean getEnabled()
Enable or disable shard indexing backpressure. Default is false- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
equals
public boolean equals(Object o)
Return true if this Shard_indexing_back_pressure_settings object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-