@Generated(value="OracleSDKGenerator", comments="API Version: 20210929") public final class CreateConnectionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details to create a Database Connection resource.
Note: Objects should always be created or deserialized using the CreateConnectionDetails.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 CreateConnectionDetails.Builder
, which maintain a
set of all explicitly set fields called CreateConnectionDetails.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 |
CreateConnectionDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateConnectionDetails(String compartmentId,
String displayName,
DatabaseConnectionTypes databaseType,
DatabaseManualConnectionSubTypes manualDatabaseSubType,
String databaseId,
CreateConnectDescriptor connectDescriptor,
String certificateTdn,
String tlsWallet,
String tlsKeystore,
CreateSshDetails sshDetails,
CreateAdminCredentials adminCredentials,
CreateAdminCredentials replicationCredentials,
CreatePrivateEndpoint privateEndpoint,
CreateVaultDetails vaultDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
List<String> nsgIds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateConnectionDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
CreateAdminCredentials |
getAdminCredentials() |
String |
getCertificateTdn()
This name is the distinguished name used while creating the certificate on target database.
|
String |
getCompartmentId()
OCID of the compartment
|
CreateConnectDescriptor |
getConnectDescriptor() |
String |
getDatabaseId()
The OCID of the cloud database.
|
DatabaseConnectionTypes |
getDatabaseType()
Database connection type.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
Database Connection display name identifier.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
DatabaseManualConnectionSubTypes |
getManualDatabaseSubType()
Database manual connection subtype.
|
List<String> |
getNsgIds()
An array of Network Security Group OCIDs used to define network access for Connections.
|
CreatePrivateEndpoint |
getPrivateEndpoint() |
CreateAdminCredentials |
getReplicationCredentials() |
CreateSshDetails |
getSshDetails() |
String |
getTlsKeystore()
keystore.jks file contents; base64 encoded String.
|
String |
getTlsWallet()
cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String.
|
CreateVaultDetails |
getVaultDetails() |
int |
hashCode() |
CreateConnectionDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"compartmentId","displayName","databaseType","manualDatabaseSubType","databaseId","connectDescriptor","certificateTdn","tlsWallet","tlsKeystore","sshDetails","adminCredentials","replicationCredentials","privateEndpoint","vaultDetails","freeformTags","definedTags","nsgIds"}) public CreateConnectionDetails(String compartmentId, String displayName, DatabaseConnectionTypes databaseType, DatabaseManualConnectionSubTypes manualDatabaseSubType, String databaseId, CreateConnectDescriptor connectDescriptor, String certificateTdn, String tlsWallet, String tlsKeystore, CreateSshDetails sshDetails, CreateAdminCredentials adminCredentials, CreateAdminCredentials replicationCredentials, CreatePrivateEndpoint privateEndpoint, CreateVaultDetails vaultDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<String> nsgIds)
public static CreateConnectionDetails.Builder builder()
Create a new builder.
public CreateConnectionDetails.Builder toBuilder()
public String getCompartmentId()
OCID of the compartment
public String getDisplayName()
Database Connection display name identifier.
public DatabaseConnectionTypes getDatabaseType()
Database connection type.
public DatabaseManualConnectionSubTypes getManualDatabaseSubType()
Database manual connection subtype. This value can only be specified for manual connections.
public String getDatabaseId()
The OCID of the cloud database. Required if the database connection type is Autonomous.
public CreateConnectDescriptor getConnectDescriptor()
public String getCertificateTdn()
This name is the distinguished name used while creating the certificate on target database. Requires a TLS wallet to be specified. Not required for source container database connections.
public String getTlsWallet()
cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections.
public String getTlsKeystore()
keystore.jks file contents; base64 encoded String. Requires a TLS wallet to be specified. Not required for source container database connections.
public CreateSshDetails getSshDetails()
public CreateAdminCredentials getAdminCredentials()
public CreateAdminCredentials getReplicationCredentials()
public CreatePrivateEndpoint getPrivateEndpoint()
public CreateVaultDetails getVaultDetails()
public Map<String,String> getFreeformTags()
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()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
public List<String> getNsgIds()
An array of Network Security Group OCIDs used to define network access for Connections.
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–2023. All rights reserved.