Class DatabaseToolsIdentityOracleDatabaseResourcePrincipal
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasetools.model.DatabaseToolsIdentity
-
- com.oracle.bmc.databasetools.model.DatabaseToolsIdentityOracleDatabaseResourcePrincipal
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class DatabaseToolsIdentityOracleDatabaseResourcePrincipal extends DatabaseToolsIdentityManages credentials in a database to access service resources.
Note: Objects should always be created or deserialized using theDatabaseToolsIdentityOracleDatabaseResourcePrincipal.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 theDatabaseToolsIdentityOracleDatabaseResourcePrincipal.Builder, which maintain a set of all explicitly set fields calledDatabaseToolsIdentityOracleDatabaseResourcePrincipal.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatabaseToolsIdentityOracleDatabaseResourcePrincipal.Builder
-
Constructor Summary
Constructors Constructor Description DatabaseToolsIdentityOracleDatabaseResourcePrincipal(String id, String compartmentId, String displayName, String databaseToolsConnectionId, DatabaseToolsIdentityLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags, List<ResourceLock> locks, String credentialKey)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseToolsIdentityOracleDatabaseResourcePrincipal.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCredentialKey()The name of the credential object created in the Oracle Database.inthashCode()DatabaseToolsIdentityOracleDatabaseResourcePrincipal.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.databasetools.model.DatabaseToolsIdentity
getCompartmentId, getDatabaseToolsConnectionId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getLocks, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DatabaseToolsIdentityOracleDatabaseResourcePrincipal
@Deprecated public DatabaseToolsIdentityOracleDatabaseResourcePrincipal(String id, String compartmentId, String displayName, String databaseToolsConnectionId, DatabaseToolsIdentityLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags, List<ResourceLock> locks, String credentialKey)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseToolsIdentityOracleDatabaseResourcePrincipal.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseToolsIdentityOracleDatabaseResourcePrincipal.Builder toBuilder()
-
getCredentialKey
public String getCredentialKey()
The name of the credential object created in the Oracle Database.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDatabaseToolsIdentity
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDatabaseToolsIdentity- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDatabaseToolsIdentity
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDatabaseToolsIdentity
-
-