Package com.exoscale.sdk.model
Class JsonSchemaPgbouncer
- java.lang.Object
-
- com.exoscale.sdk.model.JsonSchemaPgbouncer
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class JsonSchemaPgbouncer extends Object
System-wide settings for pgbouncer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonSchemaPgbouncer.AutodbPoolModeEnum
Gets or Sets autodbPoolModestatic class
JsonSchemaPgbouncer.IgnoreStartupParametersEnum
Gets or Sets ignoreStartupParameters
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_AUTODB_IDLE_TIMEOUT
static String
JSON_PROPERTY_AUTODB_MAX_DB_CONNECTIONS
static String
JSON_PROPERTY_AUTODB_POOL_MODE
static String
JSON_PROPERTY_AUTODB_POOL_SIZE
static String
JSON_PROPERTY_IGNORE_STARTUP_PARAMETERS
static String
JSON_PROPERTY_MIN_POOL_SIZE
static String
JSON_PROPERTY_SERVER_IDLE_TIMEOUT
static String
JSON_PROPERTY_SERVER_LIFETIME
static String
JSON_PROPERTY_SERVER_RESET_QUERY_ALWAYS
-
Constructor Summary
Constructors Constructor Description JsonSchemaPgbouncer()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MIN_POOL_SIZE
public static final String JSON_PROPERTY_MIN_POOL_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IGNORE_STARTUP_PARAMETERS
public static final String JSON_PROPERTY_IGNORE_STARTUP_PARAMETERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER_LIFETIME
public static final String JSON_PROPERTY_SERVER_LIFETIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTODB_POOL_MODE
public static final String JSON_PROPERTY_AUTODB_POOL_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER_IDLE_TIMEOUT
public static final String JSON_PROPERTY_SERVER_IDLE_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTODB_MAX_DB_CONNECTIONS
public static final String JSON_PROPERTY_AUTODB_MAX_DB_CONNECTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVER_RESET_QUERY_ALWAYS
public static final String JSON_PROPERTY_SERVER_RESET_QUERY_ALWAYS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTODB_POOL_SIZE
public static final String JSON_PROPERTY_AUTODB_POOL_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTODB_IDLE_TIMEOUT
public static final String JSON_PROPERTY_AUTODB_IDLE_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
minPoolSize
public JsonSchemaPgbouncer minPoolSize(Integer minPoolSize)
-
getMinPoolSize
@Nullable public Integer getMinPoolSize()
Get minPoolSize minimum: 0 maximum: 10000- Returns:
- minPoolSize
-
setMinPoolSize
public void setMinPoolSize(Integer minPoolSize)
-
ignoreStartupParameters
public JsonSchemaPgbouncer ignoreStartupParameters(List<JsonSchemaPgbouncer.IgnoreStartupParametersEnum> ignoreStartupParameters)
-
addIgnoreStartupParametersItem
public JsonSchemaPgbouncer addIgnoreStartupParametersItem(JsonSchemaPgbouncer.IgnoreStartupParametersEnum ignoreStartupParametersItem)
-
getIgnoreStartupParameters
@Nullable public List<JsonSchemaPgbouncer.IgnoreStartupParametersEnum> getIgnoreStartupParameters()
Get ignoreStartupParameters- Returns:
- ignoreStartupParameters
-
setIgnoreStartupParameters
public void setIgnoreStartupParameters(List<JsonSchemaPgbouncer.IgnoreStartupParametersEnum> ignoreStartupParameters)
-
serverLifetime
public JsonSchemaPgbouncer serverLifetime(Integer serverLifetime)
-
getServerLifetime
@Nullable public Integer getServerLifetime()
Get serverLifetime minimum: 60 maximum: 86400- Returns:
- serverLifetime
-
setServerLifetime
public void setServerLifetime(Integer serverLifetime)
-
autodbPoolMode
public JsonSchemaPgbouncer autodbPoolMode(JsonSchemaPgbouncer.AutodbPoolModeEnum autodbPoolMode)
-
getAutodbPoolMode
@Nullable public JsonSchemaPgbouncer.AutodbPoolModeEnum getAutodbPoolMode()
Get autodbPoolMode- Returns:
- autodbPoolMode
-
setAutodbPoolMode
public void setAutodbPoolMode(JsonSchemaPgbouncer.AutodbPoolModeEnum autodbPoolMode)
-
serverIdleTimeout
public JsonSchemaPgbouncer serverIdleTimeout(Integer serverIdleTimeout)
-
getServerIdleTimeout
@Nullable public Integer getServerIdleTimeout()
Get serverIdleTimeout minimum: 0 maximum: 86400- Returns:
- serverIdleTimeout
-
setServerIdleTimeout
public void setServerIdleTimeout(Integer serverIdleTimeout)
-
autodbMaxDbConnections
public JsonSchemaPgbouncer autodbMaxDbConnections(Integer autodbMaxDbConnections)
-
getAutodbMaxDbConnections
@Nullable public Integer getAutodbMaxDbConnections()
Get autodbMaxDbConnections minimum: 0 maximum: 2147483647- Returns:
- autodbMaxDbConnections
-
setAutodbMaxDbConnections
public void setAutodbMaxDbConnections(Integer autodbMaxDbConnections)
-
serverResetQueryAlways
public JsonSchemaPgbouncer serverResetQueryAlways(Boolean serverResetQueryAlways)
-
getServerResetQueryAlways
@Nullable public Boolean getServerResetQueryAlways()
Get serverResetQueryAlways- Returns:
- serverResetQueryAlways
-
setServerResetQueryAlways
public void setServerResetQueryAlways(Boolean serverResetQueryAlways)
-
autodbPoolSize
public JsonSchemaPgbouncer autodbPoolSize(Integer autodbPoolSize)
-
getAutodbPoolSize
@Nullable public Integer getAutodbPoolSize()
Get autodbPoolSize minimum: 0 maximum: 10000- Returns:
- autodbPoolSize
-
setAutodbPoolSize
public void setAutodbPoolSize(Integer autodbPoolSize)
-
autodbIdleTimeout
public JsonSchemaPgbouncer autodbIdleTimeout(Integer autodbIdleTimeout)
-
getAutodbIdleTimeout
@Nullable public Integer getAutodbIdleTimeout()
Get autodbIdleTimeout minimum: 0 maximum: 86400- Returns:
- autodbIdleTimeout
-
setAutodbIdleTimeout
public void setAutodbIdleTimeout(Integer autodbIdleTimeout)
-
equals
public boolean equals(Object o)
Return true if this json-schema-pgbouncer object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-