Package com.exoscale.sdk.model
Class SearchBackpressureSettings
- java.lang.Object
-
- com.exoscale.sdk.model.SearchBackpressureSettings
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class SearchBackpressureSettings extends Object
SearchBackpressureSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchBackpressureSettings.ModeEnum
The search backpressure mode.
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_MODE
static String
JSON_PROPERTY_NODE_DURESS
static String
JSON_PROPERTY_SEARCH_SHARD_TASK
static String
JSON_PROPERTY_SEARCH_TASK
-
Constructor Summary
Constructors Constructor Description SearchBackpressureSettings()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MODE
public static final String JSON_PROPERTY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_DURESS
public static final String JSON_PROPERTY_NODE_DURESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_SHARD_TASK
public static final String JSON_PROPERTY_SEARCH_SHARD_TASK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_TASK
public static final String JSON_PROPERTY_SEARCH_TASK
- See Also:
- Constant Field Values
-
-
Method Detail
-
mode
public SearchBackpressureSettings mode(SearchBackpressureSettings.ModeEnum mode)
-
getMode
@Nullable public SearchBackpressureSettings.ModeEnum getMode()
The search backpressure mode. Valid values are monitor_only, enforced, or disabled. Default is monitor_only- Returns:
- mode
-
setMode
public void setMode(SearchBackpressureSettings.ModeEnum mode)
-
nodeDuress
public SearchBackpressureSettings nodeDuress(NodeDuressSettings nodeDuress)
-
getNodeDuress
@Nullable public NodeDuressSettings getNodeDuress()
Get nodeDuress- Returns:
- nodeDuress
-
setNodeDuress
public void setNodeDuress(NodeDuressSettings nodeDuress)
-
searchShardTask
public SearchBackpressureSettings searchShardTask(SearchShardSettings searchShardTask)
-
getSearchShardTask
@Nullable public SearchShardSettings getSearchShardTask()
Get searchShardTask- Returns:
- searchShardTask
-
setSearchShardTask
public void setSearchShardTask(SearchShardSettings searchShardTask)
-
searchTask
public SearchBackpressureSettings searchTask(SearchTaskSettings searchTask)
-
getSearchTask
@Nullable public SearchTaskSettings getSearchTask()
Get searchTask- Returns:
- searchTask
-
setSearchTask
public void setSearchTask(SearchTaskSettings searchTask)
-
equals
public boolean equals(Object o)
Return true if this Search_Backpressure_Settings object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-