Class OracleConfigureRequest
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonBuilder<OracleConfigureRequest>
io.helidon.integrations.common.rest.ApiJsonRequest<OracleConfigureRequest>
io.helidon.integrations.vault.VaultRequest<OracleConfigureRequest>
io.helidon.integrations.vault.secrets.database.DbConfigure.Request<OracleConfigureRequest>
io.helidon.integrations.vault.secrets.database.OracleConfigureRequest
- All Implemented Interfaces:
ApiRequest<OracleConfigureRequest>
Request to configure Oracle database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OracleConfigureRequest
A new request builder for Oracle DB.maxConnectionLifetimeSeconds
(Duration duration) Specifies the maximum amount of time a connection may be reused.maxIdleConnections
(int count) Specifies the maximum number of idle connections to the database.maxOpenConnections
(int count) Specifies the maximum number of open connections to the database.Methods inherited from class io.helidon.integrations.vault.secrets.database.DbConfigure.Request
addAllowedRole, addRootRotationStatement, name, password, passwordPolicy, username, verifyConnection
Methods inherited from class io.helidon.integrations.vault.VaultRequest
add, addCommaDelimitedArray, addToCommaDelimitedArray, durationToTtl, preBuild
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonRequest
addHeader, addQueryParam, headers, queryParams, requestId, requestId, requestMediaType, requestMediaType, responseMediaType, responseMediaType
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonBuilder
add, add, add, add, add, add, addBase64, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, addToObject, addToObject, addToObject, addToObject, addToObject, emptyArray, me, postBuild, toJson
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.integrations.common.rest.ApiRequest
toJson
-
Constructor Details
-
OracleConfigureRequest
-
-
Method Details
-
builder
A new request builder for Oracle DB.- Parameters:
url
- the Oracle DSN- Returns:
- a new request
-
maxOpenConnections
Specifies the maximum number of open connections to the database.- Parameters:
count
- number of open connections allowed- Returns:
- updated request
-
maxIdleConnections
Specifies the maximum number of idle connections to the database. A zero uses the value of max_open_connections and a negative value disables idle connections. If larger than max_open_connections it will be reduced to be equal.- Parameters:
count
- number of allowed idle connections- Returns:
- updated request
-
maxConnectionLifetimeSeconds
Specifies the maximum amount of time a connection may be reused. If <= 0s connections are reused forever.- Parameters:
duration
- maximal lifetime of a connection- Returns:
- updated request
-