Class HiveLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.HiveLinkedService
-
public final class HiveLinkedService extends LinkedService
Hive Server linked service.
-
-
Constructor Summary
Constructors Constructor Description HiveLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectallowHostnameCNMismatch()Get the allowHostnameCNMismatch property: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL.ObjectallowSelfSignedServerCert()Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.HiveAuthenticationTypeauthenticationType()Get the authenticationType property: The authentication method used to access the Hive server.ObjectenableSsl()Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.Objecthost()Get the host property: IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).ObjecthttpPath()Get the httpPath property: The partial URL corresponding to the Hive server.SecretBasepassword()Get the password property: The password corresponding to the user name that you provided in the Username field.Objectport()Get the port property: The TCP port that the Hive server uses to listen for client connections.HiveServerTypeserverType()Get the serverType property: The type of Hive server.ObjectserviceDiscoveryMode()Get the serviceDiscoveryMode property: true to indicate using the ZooKeeper service, false not.HiveThriftTransportProtocolthriftTransportProtocol()Get the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.ObjecttrustedCertPath()Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL.ObjectuseNativeQuery()Get the useNativeQuery property: Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.Objectusername()Get the username property: The user name that you use to access Hive Server.ObjectuseSystemTrustStore()Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.voidvalidate()Validates the instance.HiveLinkedServicewithAllowHostnameCNMismatch(Object allowHostnameCNMismatch)Set the allowHostnameCNMismatch property: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL.HiveLinkedServicewithAllowSelfSignedServerCert(Object allowSelfSignedServerCert)Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.HiveLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.HiveLinkedServicewithAuthenticationType(HiveAuthenticationType authenticationType)Set the authenticationType property: The authentication method used to access the Hive server.HiveLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.HiveLinkedServicewithDescription(String description)Set the description property: Linked service description.HiveLinkedServicewithEnableSsl(Object enableSsl)Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.HiveLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.HiveLinkedServicewithHost(Object host)Set the host property: IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).HiveLinkedServicewithHttpPath(Object httpPath)Set the httpPath property: The partial URL corresponding to the Hive server.HiveLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.HiveLinkedServicewithPassword(SecretBase password)Set the password property: The password corresponding to the user name that you provided in the Username field.HiveLinkedServicewithPort(Object port)Set the port property: The TCP port that the Hive server uses to listen for client connections.HiveLinkedServicewithServerType(HiveServerType serverType)Set the serverType property: The type of Hive server.HiveLinkedServicewithServiceDiscoveryMode(Object serviceDiscoveryMode)Set the serviceDiscoveryMode property: true to indicate using the ZooKeeper service, false not.HiveLinkedServicewithThriftTransportProtocol(HiveThriftTransportProtocol thriftTransportProtocol)Set the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.HiveLinkedServicewithTrustedCertPath(Object trustedCertPath)Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL.HiveLinkedServicewithUseNativeQuery(Object useNativeQuery)Set the useNativeQuery property: Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.HiveLinkedServicewithUsername(Object username)Set the username property: The user name that you use to access Hive Server.HiveLinkedServicewithUseSystemTrustStore(Object useSystemTrustStore)Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.HiveLinkedServicewithZooKeeperNameSpace(Object zooKeeperNameSpace)Set the zooKeeperNameSpace property: The namespace on ZooKeeper under which Hive Server 2 nodes are added.ObjectzooKeeperNameSpace()Get the zooKeeperNameSpace property: The namespace on ZooKeeper under which Hive Server 2 nodes are added.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public HiveLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public HiveLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public HiveLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public HiveLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
host
public Object host()
Get the host property: IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).- Returns:
- the host value.
-
withHost
public HiveLinkedService withHost(Object host)
Set the host property: IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).- Parameters:
host- the host value to set.- Returns:
- the HiveLinkedService object itself.
-
port
public Object port()
Get the port property: The TCP port that the Hive server uses to listen for client connections.- Returns:
- the port value.
-
withPort
public HiveLinkedService withPort(Object port)
Set the port property: The TCP port that the Hive server uses to listen for client connections.- Parameters:
port- the port value to set.- Returns:
- the HiveLinkedService object itself.
-
serverType
public HiveServerType serverType()
Get the serverType property: The type of Hive server.- Returns:
- the serverType value.
-
withServerType
public HiveLinkedService withServerType(HiveServerType serverType)
Set the serverType property: The type of Hive server.- Parameters:
serverType- the serverType value to set.- Returns:
- the HiveLinkedService object itself.
-
thriftTransportProtocol
public HiveThriftTransportProtocol thriftTransportProtocol()
Get the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.- Returns:
- the thriftTransportProtocol value.
-
withThriftTransportProtocol
public HiveLinkedService withThriftTransportProtocol(HiveThriftTransportProtocol thriftTransportProtocol)
Set the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.- Parameters:
thriftTransportProtocol- the thriftTransportProtocol value to set.- Returns:
- the HiveLinkedService object itself.
-
authenticationType
public HiveAuthenticationType authenticationType()
Get the authenticationType property: The authentication method used to access the Hive server.- Returns:
- the authenticationType value.
-
withAuthenticationType
public HiveLinkedService withAuthenticationType(HiveAuthenticationType authenticationType)
Set the authenticationType property: The authentication method used to access the Hive server.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the HiveLinkedService object itself.
-
serviceDiscoveryMode
public Object serviceDiscoveryMode()
Get the serviceDiscoveryMode property: true to indicate using the ZooKeeper service, false not.- Returns:
- the serviceDiscoveryMode value.
-
withServiceDiscoveryMode
public HiveLinkedService withServiceDiscoveryMode(Object serviceDiscoveryMode)
Set the serviceDiscoveryMode property: true to indicate using the ZooKeeper service, false not.- Parameters:
serviceDiscoveryMode- the serviceDiscoveryMode value to set.- Returns:
- the HiveLinkedService object itself.
-
zooKeeperNameSpace
public Object zooKeeperNameSpace()
Get the zooKeeperNameSpace property: The namespace on ZooKeeper under which Hive Server 2 nodes are added.- Returns:
- the zooKeeperNameSpace value.
-
withZooKeeperNameSpace
public HiveLinkedService withZooKeeperNameSpace(Object zooKeeperNameSpace)
Set the zooKeeperNameSpace property: The namespace on ZooKeeper under which Hive Server 2 nodes are added.- Parameters:
zooKeeperNameSpace- the zooKeeperNameSpace value to set.- Returns:
- the HiveLinkedService object itself.
-
useNativeQuery
public Object useNativeQuery()
Get the useNativeQuery property: Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.- Returns:
- the useNativeQuery value.
-
withUseNativeQuery
public HiveLinkedService withUseNativeQuery(Object useNativeQuery)
Set the useNativeQuery property: Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.- Parameters:
useNativeQuery- the useNativeQuery value to set.- Returns:
- the HiveLinkedService object itself.
-
username
public Object username()
Get the username property: The user name that you use to access Hive Server.- Returns:
- the username value.
-
withUsername
public HiveLinkedService withUsername(Object username)
Set the username property: The user name that you use to access Hive Server.- Parameters:
username- the username value to set.- Returns:
- the HiveLinkedService object itself.
-
password
public SecretBase password()
Get the password property: The password corresponding to the user name that you provided in the Username field.- Returns:
- the password value.
-
withPassword
public HiveLinkedService withPassword(SecretBase password)
Set the password property: The password corresponding to the user name that you provided in the Username field.- Parameters:
password- the password value to set.- Returns:
- the HiveLinkedService object itself.
-
httpPath
public Object httpPath()
Get the httpPath property: The partial URL corresponding to the Hive server.- Returns:
- the httpPath value.
-
withHttpPath
public HiveLinkedService withHttpPath(Object httpPath)
Set the httpPath property: The partial URL corresponding to the Hive server.- Parameters:
httpPath- the httpPath value to set.- Returns:
- the HiveLinkedService object itself.
-
enableSsl
public Object enableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value is false.- Returns:
- the enableSsl value.
-
withEnableSsl
public HiveLinkedService withEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value is false.- Parameters:
enableSsl- the enableSsl value to set.- Returns:
- the HiveLinkedService object itself.
-
trustedCertPath
public Object trustedCertPath()
Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.- Returns:
- the trustedCertPath value.
-
withTrustedCertPath
public HiveLinkedService withTrustedCertPath(Object trustedCertPath)
Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.- Parameters:
trustedCertPath- the trustedCertPath value to set.- Returns:
- the HiveLinkedService object itself.
-
useSystemTrustStore
public Object useSystemTrustStore()
Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.- Returns:
- the useSystemTrustStore value.
-
withUseSystemTrustStore
public HiveLinkedService withUseSystemTrustStore(Object useSystemTrustStore)
Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.- Parameters:
useSystemTrustStore- the useSystemTrustStore value to set.- Returns:
- the HiveLinkedService object itself.
-
allowHostnameCNMismatch
public Object allowHostnameCNMismatch()
Get the allowHostnameCNMismatch property: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.- Returns:
- the allowHostnameCNMismatch value.
-
withAllowHostnameCNMismatch
public HiveLinkedService withAllowHostnameCNMismatch(Object allowHostnameCNMismatch)
Set the allowHostnameCNMismatch property: Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.- Parameters:
allowHostnameCNMismatch- the allowHostnameCNMismatch value to set.- Returns:
- the HiveLinkedService object itself.
-
allowSelfSignedServerCert
public Object allowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false.- Returns:
- the allowSelfSignedServerCert value.
-
withAllowSelfSignedServerCert
public HiveLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false.- Parameters:
allowSelfSignedServerCert- the allowSelfSignedServerCert value to set.- Returns:
- the HiveLinkedService object itself.
-
encryptedCredential
public Object encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public HiveLinkedService withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential- the encryptedCredential value to set.- Returns:
- the HiveLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-