Package com.cloudera.cdp.dw.model
Class Connector
java.lang.Object
com.cloudera.cdp.dw.model.Connector
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2026-06-05T07:54:41.156-07:00")
public class Connector
extends Object
Represents the details of a connector used to integrate external systems or data sources with Cloudera Data Warehouse. A connector defines the configuration, and connection properties required to establish and manage connectivity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for config.Getter for createdAt.Getter for createdBy.getCrn()Getter for crn.Getter for description.getId()Getter for id.getName()Getter for name.Getter for template.Getter for updatedAt.Getter for updatedBy.inthashCode()voidSetter for config.voidsetCreatedAt(Long createdAt) Setter for createdAt.voidsetCreatedBy(String createdBy) Setter for createdBy.voidSetter for crn.voidsetDescription(String description) Setter for description.voidSetter for id.voidSetter for name.voidsetTemplate(String template) Setter for template.voidsetUpdatedAt(Long updatedAt) Setter for updatedAt.voidsetUpdatedBy(String updatedBy) Setter for updatedBy.toString()
-
Constructor Details
-
Connector
public Connector()
-
-
Method Details
-
getCrn
Getter for crn. The CRN of the connector. -
setCrn
Setter for crn. The CRN of the connector. -
getId
Getter for id. Unique per-cluster connector ID. -
setId
Setter for id. Unique per-cluster connector ID. -
getName
Getter for name. Display name. -
setName
Setter for name. Display name. -
getTemplate
Getter for template. The template of the connector. -
setTemplate
Setter for template. The template of the connector. -
getConfig
Getter for config. The connector configuration in key-value format. For example, { \"connector.name\": \"hive\", \"fs.cache.directories\": \"/data/trino/fs_cache_hive\", \"fs.cache.enabled\": \"true\", \"fs.cache.max-disk-usage-percentages\": \"30\", \"fs.cache.preferred-hosts-count\": \"2\", \"fs.cache.ttl\": \"7d\", \"hive.allow-drop-table\": \"true\", \"hive.collect-column-statistics-on-write\": \"false\", \"hive.metastore.uri\": \"thrift://metastore-service.{{ .Values.warehouseId }}.svc.cluster.local:9083\", \"hive.non-managed-table-writes-enabled\": \"true\", \"hive.security\": \"{{ .Values.authorizationMode }}\", \"ranger.audit_config\": \"ranger-hive-audit.xml\", \"ranger.hadoop_config\": \"core-site.xml\", \"ranger.policy_mgr_ssl_config\": \"ranger-policymgr-ssl.xml\", \"ranger.security_config\": \"ranger-hive-security.xml\", \"ranger.service_name\": \"{{ .Values.rangerHiveSvcName }}\" }. -
setConfig
Setter for config. The connector configuration in key-value format. For example, { \"connector.name\": \"hive\", \"fs.cache.directories\": \"/data/trino/fs_cache_hive\", \"fs.cache.enabled\": \"true\", \"fs.cache.max-disk-usage-percentages\": \"30\", \"fs.cache.preferred-hosts-count\": \"2\", \"fs.cache.ttl\": \"7d\", \"hive.allow-drop-table\": \"true\", \"hive.collect-column-statistics-on-write\": \"false\", \"hive.metastore.uri\": \"thrift://metastore-service.{{ .Values.warehouseId }}.svc.cluster.local:9083\", \"hive.non-managed-table-writes-enabled\": \"true\", \"hive.security\": \"{{ .Values.authorizationMode }}\", \"ranger.audit_config\": \"ranger-hive-audit.xml\", \"ranger.hadoop_config\": \"core-site.xml\", \"ranger.policy_mgr_ssl_config\": \"ranger-policymgr-ssl.xml\", \"ranger.security_config\": \"ranger-hive-security.xml\", \"ranger.service_name\": \"{{ .Values.rangerHiveSvcName }}\" }. -
getDescription
Getter for description. User-provided description. -
setDescription
Setter for description. User-provided description. -
getCreatedBy
Getter for createdBy. The CRN of the user who created the connector. -
setCreatedBy
Setter for createdBy. The CRN of the user who created the connector. -
getCreatedAt
Getter for createdAt. The timestamp when the connector was created. -
setCreatedAt
Setter for createdAt. The timestamp when the connector was created. -
getUpdatedAt
Getter for updatedAt. The timestamp when the connector was last updated. -
setUpdatedAt
Setter for updatedAt. The timestamp when the connector was last updated. -
getUpdatedBy
Getter for updatedBy. The CRN of the user who last updated the connector. -
setUpdatedBy
Setter for updatedBy. The CRN of the user who last updated the connector. -
equals
-
hashCode
public int hashCode() -
toString
-