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 Details

    • Connector

      public Connector()
  • Method Details

    • getCrn

      public String getCrn()
      Getter for crn. The CRN of the connector.
    • setCrn

      public void setCrn(String crn)
      Setter for crn. The CRN of the connector.
    • getId

      public String getId()
      Getter for id. Unique per-cluster connector ID.
    • setId

      public void setId(String id)
      Setter for id. Unique per-cluster connector ID.
    • getName

      public String getName()
      Getter for name. Display name.
    • setName

      public void setName(String name)
      Setter for name. Display name.
    • getTemplate

      public String getTemplate()
      Getter for template. The template of the connector.
    • setTemplate

      public void setTemplate(String template)
      Setter for template. The template of the connector.
    • getConfig

      public Map<String,String> 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

      public void setConfig(Map<String,String> config)
      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

      public String getDescription()
      Getter for description. User-provided description.
    • setDescription

      public void setDescription(String description)
      Setter for description. User-provided description.
    • getCreatedBy

      public String getCreatedBy()
      Getter for createdBy. The CRN of the user who created the connector.
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Setter for createdBy. The CRN of the user who created the connector.
    • getCreatedAt

      public Long getCreatedAt()
      Getter for createdAt. The timestamp when the connector was created.
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
      Setter for createdAt. The timestamp when the connector was created.
    • getUpdatedAt

      public Long getUpdatedAt()
      Getter for updatedAt. The timestamp when the connector was last updated.
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
      Setter for updatedAt. The timestamp when the connector was last updated.
    • getUpdatedBy

      public String getUpdatedBy()
      Getter for updatedBy. The CRN of the user who last updated the connector.
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
      Setter for updatedBy. The CRN of the user who last updated the connector.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object