Class CreateConnectionDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.CreateConnectionDetails
-
- Direct Known Subclasses:
CreateAmazonKinesisConnectionDetails
,CreateAmazonRedshiftConnectionDetails
,CreateAmazonS3ConnectionDetails
,CreateAzureDataLakeStorageConnectionDetails
,CreateAzureSynapseConnectionDetails
,CreateDatabricksConnectionDetails
,CreateDb2ConnectionDetails
,CreateElasticsearchConnectionDetails
,CreateGenericConnectionDetails
,CreateGoldenGateConnectionDetails
,CreateGoogleBigQueryConnectionDetails
,CreateGoogleCloudStorageConnectionDetails
,CreateGooglePubSubConnectionDetails
,CreateHdfsConnectionDetails
,CreateJavaMessageServiceConnectionDetails
,CreateKafkaConnectionDetails
,CreateKafkaSchemaRegistryConnectionDetails
,CreateMicrosoftFabricConnectionDetails
,CreateMicrosoftSqlserverConnectionDetails
,CreateMongoDbConnectionDetails
,CreateMysqlConnectionDetails
,CreateOciObjectStorageConnectionDetails
,CreateOracleConnectionDetails
,CreateOracleNosqlConnectionDetails
,CreatePostgresqlConnectionDetails
,CreateRedisConnectionDetails
,CreateSnowflakeConnectionDetails
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public class CreateConnectionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The information about a new Connection.
Note: Objects should always be created or deserialized using theBuilder
. 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 theBuilder
, which maintain a set of all explicitly set fields calledBuilder#__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).
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CreateConnectionDetails(String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<AddResourceLockDetails> locks, String vaultId, String keyId, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment 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.Boolean
getDoesUseSecretIds()
Indicates that sensitive attributes are provided via Secrets.Map<String,String>
getFreeformTags()
A simple key-value pair that is applied without any predefined name, type, or scope.String
getKeyId()
Refers to the customer’s master key OCID.List<AddResourceLockDetails>
getLocks()
Locks associated with this resource.List<String>
getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.RoutingMethod
getRoutingMethod()
Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service’s network to public hosts.String
getSubnetId()
The OCID of the target subnet of the dedicated connection.String
getVaultId()
Refers to the customer’s vault OCID.int
hashCode()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateConnectionDetails
@Deprecated @ConstructorProperties({"displayName","description","compartmentId","freeformTags","definedTags","locks","vaultId","keyId","nsgIds","subnetId","routingMethod","doesUseSecretIds"}) protected CreateConnectionDetails(String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, List<AddResourceLockDetails> locks, String vaultId, String keyId, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds)
Deprecated.
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
An object’s Display Name.- Returns:
- the value
-
getDescription
public String getDescription()
Metadata about this specific object.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment being referenced.- Returns:
- the value
-
getFreeformTags
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"}
- Returns:
- the value
-
getDefinedTags
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"}}
- Returns:
- the value
-
getLocks
public List<AddResourceLockDetails> getLocks()
Locks associated with this resource.- Returns:
- the value
-
getVaultId
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.
- Returns:
- the value
-
getKeyId
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.
- Returns:
- the value
-
getNsgIds
public List<String> getNsgIds()
An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.- Returns:
- the value
-
getSubnetId
public String getSubnetId()
The OCID of the target subnet of the dedicated connection.- Returns:
- the value
-
getRoutingMethod
public RoutingMethod getRoutingMethod()
Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service’s network to public hosts.Cannot be used for private targets. SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment’s private endpoint through the deployment’s subnet. DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected.
- Returns:
- the value
-
getDoesUseSecretIds
public Boolean getDoesUseSecretIds()
Indicates that sensitive attributes are provided via Secrets.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-