public static class DatabaseConnectionCredentialsByDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseConnectionCredentialsByDetails |
build() |
DatabaseConnectionCredentialsByDetails.Builder |
copy(DatabaseConnectionCredentialsByDetails model) |
DatabaseConnectionCredentialsByDetails.Builder |
credentialName(String credentialName)
The name of the credential information that used to connect to the database.
|
DatabaseConnectionCredentialsByDetails.Builder |
password(String password)
The password that will be used to connect to the database.
|
DatabaseConnectionCredentialsByDetails.Builder |
role(DatabaseConnectionCredentialsByDetails.Role role)
The role of the user that will be connecting to the database.
|
DatabaseConnectionCredentialsByDetails.Builder |
username(String username)
The username that will be used to connect to the database.
|
public DatabaseConnectionCredentialsByDetails.Builder credentialName(String credentialName)
The name of the credential information that used to connect to the database. The name should be in “x.y” format, where the length of “x” has a maximum of 64 characters, and length of “y” has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the “.” character that separates the “x” and “y” portions of the name. IMPORTANT - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name.
For example: inventorydb.abc112233445566778899
credentialName
- the value to setpublic DatabaseConnectionCredentialsByDetails.Builder username(String username)
The username that will be used to connect to the database.
username
- the value to setpublic DatabaseConnectionCredentialsByDetails.Builder password(String password)
The password that will be used to connect to the database.
password
- the value to setpublic DatabaseConnectionCredentialsByDetails.Builder role(DatabaseConnectionCredentialsByDetails.Role role)
The role of the user that will be connecting to the database.
role
- the value to setpublic DatabaseConnectionCredentialsByDetails build()
public DatabaseConnectionCredentialsByDetails.Builder copy(DatabaseConnectionCredentialsByDetails model)
Copyright © 2016–2024. All rights reserved.