Class PrestoLinkedService
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.LinkedService
-
- com.azure.analytics.synapse.artifacts.models.PrestoLinkedService
-
public class PrestoLinkedService extends LinkedService
Presto server linked service.
-
-
Constructor Summary
Constructors Constructor Description PrestoLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAllowHostNameCNMismatch()
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.Object
getAllowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.PrestoAuthenticationType
getAuthenticationType()
Get the authenticationType property: The authentication mechanism used to connect to the Presto server.Object
getCatalog()
Get the catalog property: The catalog context for all request against the server.Object
getEnableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.Object
getEncryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
getHost()
Get the host property: The IP address or host name of the Presto server.SecretBase
getPassword()
Get the password property: The password corresponding to the user name.Object
getPort()
Get the port property: The TCP port that the Presto server uses to listen for client connections.Object
getServerVersion()
Get the serverVersion property: The version of the Presto server.Object
getTimeZoneID()
Get the timeZoneID property: The local time zone used by the connection.Object
getTrustedCertPath()
Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL.Object
getUsername()
Get the username property: The user name used to connect to the Presto server.Object
getUseSystemTrustStore()
Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.PrestoLinkedService
setAllowHostNameCNMismatch(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.PrestoLinkedService
setAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.PrestoLinkedService
setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.PrestoLinkedService
setAuthenticationType(PrestoAuthenticationType authenticationType)
Set the authenticationType property: The authentication mechanism used to connect to the Presto server.PrestoLinkedService
setCatalog(Object catalog)
Set the catalog property: The catalog context for all request against the server.PrestoLinkedService
setConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.PrestoLinkedService
setDescription(String description)
Set the description property: Linked service description.PrestoLinkedService
setEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.PrestoLinkedService
setEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.PrestoLinkedService
setHost(Object host)
Set the host property: The IP address or host name of the Presto server.PrestoLinkedService
setParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.PrestoLinkedService
setPassword(SecretBase password)
Set the password property: The password corresponding to the user name.PrestoLinkedService
setPort(Object port)
Set the port property: The TCP port that the Presto server uses to listen for client connections.PrestoLinkedService
setServerVersion(Object serverVersion)
Set the serverVersion property: The version of the Presto server.PrestoLinkedService
setTimeZoneID(Object timeZoneID)
Set the timeZoneID property: The local time zone used by the connection.PrestoLinkedService
setTrustedCertPath(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.PrestoLinkedService
setUsername(Object username)
Set the username property: The user name used to connect to the Presto server.PrestoLinkedService
setUseSystemTrustStore(Object useSystemTrustStore)
Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.LinkedService
getAdditionalProperties, getAnnotations, getConnectVia, getDescription, getParameters, setAdditionalProperties
-
-
-
-
Method Detail
-
getHost
public Object getHost()
Get the host property: The IP address or host name of the Presto server. (i.e. 192.168.222.160).- Returns:
- the host value.
-
setHost
public PrestoLinkedService setHost(Object host)
Set the host property: The IP address or host name of the Presto server. (i.e. 192.168.222.160).- Parameters:
host
- the host value to set.- Returns:
- the PrestoLinkedService object itself.
-
getServerVersion
public Object getServerVersion()
Get the serverVersion property: The version of the Presto server. (i.e. 0.148-t).- Returns:
- the serverVersion value.
-
setServerVersion
public PrestoLinkedService setServerVersion(Object serverVersion)
Set the serverVersion property: The version of the Presto server. (i.e. 0.148-t).- Parameters:
serverVersion
- the serverVersion value to set.- Returns:
- the PrestoLinkedService object itself.
-
getCatalog
public Object getCatalog()
Get the catalog property: The catalog context for all request against the server.- Returns:
- the catalog value.
-
setCatalog
public PrestoLinkedService setCatalog(Object catalog)
Set the catalog property: The catalog context for all request against the server.- Parameters:
catalog
- the catalog value to set.- Returns:
- the PrestoLinkedService object itself.
-
getPort
public Object getPort()
Get the port property: The TCP port that the Presto server uses to listen for client connections. The default value is 8080.- Returns:
- the port value.
-
setPort
public PrestoLinkedService setPort(Object port)
Set the port property: The TCP port that the Presto server uses to listen for client connections. The default value is 8080.- Parameters:
port
- the port value to set.- Returns:
- the PrestoLinkedService object itself.
-
getAuthenticationType
public PrestoAuthenticationType getAuthenticationType()
Get the authenticationType property: The authentication mechanism used to connect to the Presto server.- Returns:
- the authenticationType value.
-
setAuthenticationType
public PrestoLinkedService setAuthenticationType(PrestoAuthenticationType authenticationType)
Set the authenticationType property: The authentication mechanism used to connect to the Presto server.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the PrestoLinkedService object itself.
-
getUsername
public Object getUsername()
Get the username property: The user name used to connect to the Presto server.- Returns:
- the username value.
-
setUsername
public PrestoLinkedService setUsername(Object username)
Set the username property: The user name used to connect to the Presto server.- Parameters:
username
- the username value to set.- Returns:
- the PrestoLinkedService object itself.
-
getPassword
public SecretBase getPassword()
Get the password property: The password corresponding to the user name.- Returns:
- the password value.
-
setPassword
public PrestoLinkedService setPassword(SecretBase password)
Set the password property: The password corresponding to the user name.- Parameters:
password
- the password value to set.- Returns:
- the PrestoLinkedService object itself.
-
getEnableSsl
public Object getEnableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value is false.- Returns:
- the enableSsl value.
-
setEnableSsl
public PrestoLinkedService setEnableSsl(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 PrestoLinkedService object itself.
-
getTrustedCertPath
public Object getTrustedCertPath()
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.
-
setTrustedCertPath
public PrestoLinkedService setTrustedCertPath(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 PrestoLinkedService object itself.
-
getUseSystemTrustStore
public Object getUseSystemTrustStore()
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.
-
setUseSystemTrustStore
public PrestoLinkedService setUseSystemTrustStore(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 PrestoLinkedService object itself.
-
getAllowHostNameCNMismatch
public Object getAllowHostNameCNMismatch()
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.
-
setAllowHostNameCNMismatch
public PrestoLinkedService setAllowHostNameCNMismatch(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 PrestoLinkedService object itself.
-
getAllowSelfSignedServerCert
public Object getAllowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false.- Returns:
- the allowSelfSignedServerCert value.
-
setAllowSelfSignedServerCert
public PrestoLinkedService setAllowSelfSignedServerCert(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 PrestoLinkedService object itself.
-
getTimeZoneID
public Object getTimeZoneID()
Get the timeZoneID property: The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.- Returns:
- the timeZoneID value.
-
setTimeZoneID
public PrestoLinkedService setTimeZoneID(Object timeZoneID)
Set the timeZoneID property: The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.- Parameters:
timeZoneID
- the timeZoneID value to set.- Returns:
- the PrestoLinkedService object itself.
-
getEncryptedCredential
public Object getEncryptedCredential()
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.
-
setEncryptedCredential
public PrestoLinkedService setEncryptedCredential(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 PrestoLinkedService object itself.
-
setConnectVia
public PrestoLinkedService setConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
setConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
setDescription
public PrestoLinkedService setDescription(String description)
Set the description property: Linked service description.- Overrides:
setDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
setParameters
public PrestoLinkedService setParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
setParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
setAnnotations
public PrestoLinkedService setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
setAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
-