@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseConnectionCredentialsByDetails extends DatabaseConnectionCredentials
User information to connect to the database.
DatabaseConnectionCredentialsByDetails.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the DatabaseConnectionCredentialsByDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseConnectionCredentialsByDetails.Builder |
static class |
DatabaseConnectionCredentialsByDetails.Role
The role of the user that will be connecting to the database.
|
DatabaseConnectionCredentials.CredentialType| Constructor and Description |
|---|
DatabaseConnectionCredentialsByDetails(String credentialName,
String username,
String password,
DatabaseConnectionCredentialsByDetails.Role role)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseConnectionCredentialsByDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCredentialName()
The name of the credential information that used to connect to the database.
|
String |
getPassword()
The password that will be used to connect to the database.
|
DatabaseConnectionCredentialsByDetails.Role |
getRole()
The role of the user that will be connecting to the database.
|
String |
getUsername()
The username that will be used to connect to the database.
|
int |
hashCode() |
DatabaseConnectionCredentialsByDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated public DatabaseConnectionCredentialsByDetails(String credentialName, String username, String password, DatabaseConnectionCredentialsByDetails.Role role)
public static DatabaseConnectionCredentialsByDetails.Builder builder()
Create a new builder.
public DatabaseConnectionCredentialsByDetails.Builder toBuilder()
public String getCredentialName()
The name of the credential information that used to connect to the database.
public String getUsername()
The username that will be used to connect to the database.
public String getPassword()
The password that will be used to connect to the database.
public DatabaseConnectionCredentialsByDetails.Role getRole()
The role of the user that will be connecting to the database.
public String toString()
toString in class DatabaseConnectionCredentialspublic boolean equals(Object o)
equals in class DatabaseConnectionCredentialsprotected boolean canEqual(Object other)
canEqual in class DatabaseConnectionCredentialspublic int hashCode()
hashCode in class DatabaseConnectionCredentialsCopyright © 2016–2021. All rights reserved.