Class AsmConnectionCredentialsByDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.AsmConnectionCredentialsByDetails.Builder
-
- Enclosing class:
- AsmConnectionCredentialsByDetails
public static class AsmConnectionCredentialsByDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsmConnectionCredentialsByDetails
build()
AsmConnectionCredentialsByDetails.Builder
copy(AsmConnectionCredentialsByDetails model)
AsmConnectionCredentialsByDetails.Builder
credentialName(String credentialName)
The name of the credential information that used to connect to the DB system resource.AsmConnectionCredentialsByDetails.Builder
passwordSecretId(String passwordSecretId)
The OCID of the secret containing the user password.AsmConnectionCredentialsByDetails.Builder
role(AsmConnectionCredentialsByDetails.Role role)
The role of the user connecting to the ASM instance.AsmConnectionCredentialsByDetails.Builder
userName(String userName)
The user name used to connect to the ASM instance.
-
-
-
Method Detail
-
credentialName
public AsmConnectionCredentialsByDetails.Builder credentialName(String credentialName)
The name of the credential information that used to connect to the DB system resource.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
- Parameters:
credentialName
- the value to set- Returns:
- this builder
-
userName
public AsmConnectionCredentialsByDetails.Builder userName(String userName)
The user name used to connect to the ASM instance.- Parameters:
userName
- the value to set- Returns:
- this builder
-
passwordSecretId
public AsmConnectionCredentialsByDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the secret containing the user password.- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
role
public AsmConnectionCredentialsByDetails.Builder role(AsmConnectionCredentialsByDetails.Role role)
The role of the user connecting to the ASM instance.- Parameters:
role
- the value to set- Returns:
- this builder
-
build
public AsmConnectionCredentialsByDetails build()
-
copy
public AsmConnectionCredentialsByDetails.Builder copy(AsmConnectionCredentialsByDetails model)
-
-