Enum ConnectorConfigurationKey
- java.lang.Object
-
- java.lang.Enum<ConnectorConfigurationKey>
-
- com.snowflake.connectors.application.configuration.connector.ConnectorConfigurationKey
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectorConfigurationKey>
public enum ConnectorConfigurationKey extends Enum<ConnectorConfigurationKey>
All keys allowed for the connector configuration properties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_ROLE
Role which is used by db connector's agent when connecting with Snowflake.AGENT_USERNAME
Username which is used by db connector's agent when connecting with Snowflake.DATA_OWNER_ROLE
Name of the role, which is the owner of the connector data.DESTINATION_DATABASE
Database in which the connector data is stored.DESTINATION_SCHEMA
Schema in which the connector data is stored.GLOBAL_SCHEDULE
Global schedule for the connector data ingestion.OPERATIONAL_WAREHOUSE
Operational warehouse used by the connector.WAREHOUSE
Main warehouse used by the connector.
-
Field Summary
Fields Modifier and Type Field Description static Collection<String>
ALLOWED_PROPERTY_NAMES
A collection containing names of all allowed connector configuration property keys.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyName()
Returns the name of the connector configuration property key.static ConnectorConfigurationKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectorConfigurationKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAREHOUSE
public static final ConnectorConfigurationKey WAREHOUSE
Main warehouse used by the connector.
-
DESTINATION_DATABASE
public static final ConnectorConfigurationKey DESTINATION_DATABASE
Database in which the connector data is stored.
-
DESTINATION_SCHEMA
public static final ConnectorConfigurationKey DESTINATION_SCHEMA
Schema in which the connector data is stored.
-
DATA_OWNER_ROLE
public static final ConnectorConfigurationKey DATA_OWNER_ROLE
Name of the role, which is the owner of the connector data.
-
OPERATIONAL_WAREHOUSE
public static final ConnectorConfigurationKey OPERATIONAL_WAREHOUSE
Operational warehouse used by the connector.
-
GLOBAL_SCHEDULE
public static final ConnectorConfigurationKey GLOBAL_SCHEDULE
Global schedule for the connector data ingestion.
-
AGENT_USERNAME
public static final ConnectorConfigurationKey AGENT_USERNAME
Username which is used by db connector's agent when connecting with Snowflake.
-
AGENT_ROLE
public static final ConnectorConfigurationKey AGENT_ROLE
Role which is used by db connector's agent when connecting with Snowflake.
-
-
Field Detail
-
ALLOWED_PROPERTY_NAMES
public static final Collection<String> ALLOWED_PROPERTY_NAMES
A collection containing names of all allowed connector configuration property keys.
-
-
Method Detail
-
values
public static ConnectorConfigurationKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConnectorConfigurationKey c : ConnectorConfigurationKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectorConfigurationKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPropertyName
public String getPropertyName()
Returns the name of the connector configuration property key.- Returns:
- name of the connector configuration property key
-
-