@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateDatabaseRegistrationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The information about a new DatabaseRegistration.
Note: Objects should always be created or deserialized using the CreateDatabaseRegistrationDetails.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 CreateDatabaseRegistrationDetails.Builder
, which maintain a
set of all explicitly set fields called CreateDatabaseRegistrationDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateDatabaseRegistrationDetails.Builder |
static class |
CreateDatabaseRegistrationDetails.SessionMode
The mode of the database connection session to be established by the data client.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateDatabaseRegistrationDetails(String displayName,
String description,
String compartmentId,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String fqdn,
String ipAddress,
String subnetId,
String databaseId,
String username,
String password,
String connectionString,
CreateDatabaseRegistrationDetails.SessionMode sessionMode,
String wallet,
String aliasName,
String vaultId,
String keyId,
String secretCompartmentId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDatabaseRegistrationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAliasName()
Credential store alias.
|
String |
getCompartmentId()
The OCID of the
compartment being referenced.
|
String |
getConnectionString()
Connect descriptor or Easy Connect Naming method used to connect to a database.
|
String |
getDatabaseId()
The OCID of the
database being referenced.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Tags defined for this resource.
|
String |
getDescription()
Metadata about this specific object.
|
String |
getDisplayName()
An object’s Display Name.
|
String |
getFqdn()
A three-label Fully Qualified Domain Name (FQDN) for a resource.
|
Map<String,String> |
getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope.
|
String |
getIpAddress()
The private IP address in the customer’s VCN of the customer’s endpoint, typically a
database.
|
String |
getKeyId()
Refers to the customer’s master key OCID.
|
String |
getPassword()
The password Oracle GoldenGate uses to connect the associated system of the given technology.
|
String |
getSecretCompartmentId()
The OCID of the compartment where the GoldenGate Secret will be created.
|
CreateDatabaseRegistrationDetails.SessionMode |
getSessionMode()
The mode of the database connection session to be established by the data client.
|
String |
getSubnetId()
The OCID of the
target subnet of the dedicated connection.
|
String |
getUsername()
The username Oracle GoldenGate uses to connect the associated system of the given technology.
|
String |
getVaultId()
Refers to the customer’s vault OCID.
|
String |
getWallet()
The wallet contents Oracle GoldenGate uses to make connections to a database.
|
int |
hashCode() |
CreateDatabaseRegistrationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","description","compartmentId","freeformTags","definedTags","fqdn","ipAddress","subnetId","databaseId","username","password","connectionString","sessionMode","wallet","aliasName","vaultId","keyId","secretCompartmentId"}) public CreateDatabaseRegistrationDetails(String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String fqdn, String ipAddress, String subnetId, String databaseId, String username, String password, String connectionString, CreateDatabaseRegistrationDetails.SessionMode sessionMode, String wallet, String aliasName, String vaultId, String keyId, String secretCompartmentId)
public static CreateDatabaseRegistrationDetails.Builder builder()
Create a new builder.
public CreateDatabaseRegistrationDetails.Builder toBuilder()
public String getDisplayName()
An object’s Display Name.
public String getDescription()
Metadata about this specific object.
public String getCompartmentId()
The OCID of the compartment being referenced.
public Map<String,String> getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
public String getFqdn()
A three-label Fully Qualified Domain Name (FQDN) for a resource.
public String getIpAddress()
The private IP address in the customer’s VCN of the customer’s endpoint, typically a database.
public String getSubnetId()
The OCID of the target subnet of the dedicated connection.
public String getDatabaseId()
The OCID of the database being referenced.
public String getUsername()
The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
public String getPassword()
The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.
public String getConnectionString()
Connect descriptor or Easy Connect Naming method used to connect to a database.
public CreateDatabaseRegistrationDetails.SessionMode getSessionMode()
The mode of the database connection session to be established by the data client. ‘REDIRECT’
public String getWallet()
The wallet contents Oracle GoldenGate uses to make connections to a database. This attribute is expected to be base64 encoded.
public String getAliasName()
Credential store alias.
public String getVaultId()
Refers to the customer’s vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault.
public String getKeyId()
Refers to the customer’s master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
public String getSecretCompartmentId()
The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.