Class Connection
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.goldengate.model.Connection
 
 
- 
- Direct Known Subclasses:
- AmazonKinesisConnection,- AmazonRedshiftConnection,- AmazonS3Connection,- AzureDataLakeStorageConnection,- AzureSynapseConnection,- DatabricksConnection,- Db2Connection,- ElasticsearchConnection,- GenericConnection,- GoldenGateConnection,- GoogleBigQueryConnection,- GoogleCloudStorageConnection,- GooglePubSubConnection,- HdfsConnection,- IcebergConnection,- JavaMessageServiceConnection,- KafkaConnection,- KafkaSchemaRegistryConnection,- MicrosoftFabricConnection,- MicrosoftSqlserverConnection,- MongoDbConnection,- MysqlConnection,- OciObjectStorageConnection,- OracleAiDataPlatformConnection,- OracleConnection,- OracleNosqlConnection,- PostgresqlConnection,- RedisConnection,- SnowflakeConnection
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public class Connection extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelRepresents the metadata description of a connection used by deployments in the same compartment.
 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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classConnection.LifecycleStatePossible lifecycle states for connection.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedConnection(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, List<ResourceLock> locks, String vaultId, String keyId, List<IngressIpDetails> ingressIps, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds, String subscriptionId, String clusterPlacementGroupId, Map<String,Map<String,Object>> securityAttributes)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetClusterPlacementGroupId()The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.StringgetCompartmentId()The OCID of the compartment being referenced.Map<String,Map<String,Object>>getDefinedTags()Tags defined for this resource.StringgetDescription()Metadata about this specific object.StringgetDisplayName()An object’s Display Name.BooleangetDoesUseSecretIds()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.StringgetId()The OCID of the connection being referenced.List<IngressIpDetails>getIngressIps()List of ingress IP addresses from where the GoldenGate deployment connects to this connection’s privateIp.StringgetKeyId()Refers to the customer’s master key OCID.StringgetLifecycleDetails()Describes the object’s current state in detail.Connection.LifecycleStategetLifecycleState()Possible lifecycle states for connection.List<ResourceLock>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.RoutingMethodgetRoutingMethod()Controls the network traffic direction to the target: SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service’s network to public hosts.Map<String,Map<String,Object>>getSecurityAttributes()Security attributes for this resource.StringgetSubnetId()The OCID of the target subnet of the dedicated connection.StringgetSubscriptionId()The OCID of the subscription with which resource needs to be associated with.Map<String,Map<String,Object>>getSystemTags()The system tags associated with this resource, if any.DategetTimeCreated()The time the resource was created.DategetTimeUpdated()The time the resource was last updated.StringgetVaultId()Refers to the customer’s vault OCID.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Connection@Deprecated @ConstructorProperties({"id","displayName","description","compartmentId","freeformTags","definedTags","systemTags","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","locks","vaultId","keyId","ingressIps","nsgIds","subnetId","routingMethod","doesUseSecretIds","subscriptionId","clusterPlacementGroupId","securityAttributes"}) protected Connection(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, List<ResourceLock> locks, String vaultId, String keyId, List<IngressIpDetails> ingressIps, List<String> nsgIds, String subnetId, RoutingMethod routingMethod, Boolean doesUseSecretIds, String subscriptionId, String clusterPlacementGroupId, Map<String,Map<String,Object>> securityAttributes) Deprecated.
 
- 
 - 
Method Detail- 
getDisplayNamepublic String getDisplayName() An object’s Display Name.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Metadata about this specific object.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment being referenced.- Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() The system tags associated with this resource, if any.The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} - Returns:
- the value
 
 - 
getLifecycleStatepublic Connection.LifecycleState getLifecycleState() Possible lifecycle states for connection.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Describes the object’s current state in detail.For example, it can be used to provide actionable information for a resource in a Failed state. - Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the resource was created.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the resource was last updated.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Returns:
- the value
 
 - 
getLockspublic List<ResourceLock> getLocks() Locks associated with this resource.- Returns:
- the value
 
 - 
getVaultIdpublic 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
 
 - 
getKeyIdpublic 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
 
 - 
getIngressIpspublic List<IngressIpDetails> getIngressIps() List of ingress IP addresses from where the GoldenGate deployment connects to this connection’s privateIp.Customers may optionally set up ingress security rules to restrict traffic from these IP addresses. - Returns:
- the value
 
 - 
getNsgIdspublic List<String> getNsgIds() An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.- Returns:
- the value
 
 - 
getSubnetIdpublic String getSubnetId() The OCID of the target subnet of the dedicated connection.- Returns:
- the value
 
 - 
getRoutingMethodpublic 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
 
 - 
getDoesUseSecretIdspublic Boolean getDoesUseSecretIds() Indicates that sensitive attributes are provided via Secrets.- Returns:
- the value
 
 - 
getSubscriptionIdpublic String getSubscriptionId() The OCID of the subscription with which resource needs to be associated with.- Returns:
- the value
 
 - 
getClusterPlacementGroupIdpublic String getClusterPlacementGroupId() The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud subscription id is provided. Otherwise the cluster placement group must not be provided. - Returns:
- the value
 
 - 
getSecurityAttributespublic Map<String,Map<String,Object>> getSecurityAttributes() Security attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-