PrestoLinkedService Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. LinkedService - com.
azure. resourcemanager. datafactory. models. PrestoLinkedService
- com.
- com.
public final class PrestoLinkedService
extends LinkedService
Presto server linked service. This linked service has supported version property. The Version 1.0 is scheduled for deprecation while your pipeline will continue to run after EOL but without any bug fix or new features.
Constructor Summary
| Constructor | Description |
|---|---|
| PrestoLinkedService() |
Creates an instance of Presto |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
allowHostnameCNMismatch()
Get the allow |
| Object |
allowSelfSignedServerCert()
Get the allow |
|
Presto |
authenticationType()
Get the authentication |
| Object |
catalog()
Get the catalog property: The catalog context for all request against the server. |
| Object |
enableServerCertificateValidation()
Get the enable |
| Object |
enableSsl()
Get the enable |
| String |
encryptedCredential()
Get the encrypted |
|
static
Presto |
fromJson(JsonReader jsonReader)
Reads an instance of Presto |
| Object |
host()
Get the host property: The IP address or host name of the Presto server. |
|
Secret |
password()
Get the password property: The password corresponding to the user name. |
| Object |
port()
Get the port property: The TCP port that the Presto server uses to listen for client connections. |
| Object |
serverVersion()
Get the server |
| Object |
timeZoneId()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| Object |
trustedCertPath()
Get the trusted |
| String |
type()
Get the type property: Type of linked service. |
| Object |
username()
Get the username property: The user name used to connect to the Presto server. |
| Object |
useSystemTrustStore()
Get the use |
|
Presto |
withAllowHostnameCNMismatch(Object allowHostnameCNMismatch)
Set the allow |
|
Presto |
withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allow |
|
Presto |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service. |
|
Presto |
withAuthenticationType(PrestoAuthenticationType authenticationType)
Set the authentication |
|
Presto |
withCatalog(Object catalog)
Set the catalog property: The catalog context for all request against the server. |
|
Presto |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connect |
|
Presto |
withDescription(String description)
Set the description property: Linked service description. |
|
Presto |
withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enable |
|
Presto |
withEnableSsl(Object enableSsl)
Set the enable |
|
Presto |
withEncryptedCredential(String encryptedCredential)
Set the encrypted |
|
Presto |
withHost(Object host)
Set the host property: The IP address or host name of the Presto server. |
|
Presto |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service. |
|
Presto |
withPassword(SecretBase password)
Set the password property: The password corresponding to the user name. |
|
Presto |
withPort(Object port)
Set the port property: The TCP port that the Presto server uses to listen for client connections. |
|
Presto |
withServerVersion(Object serverVersion)
Set the server |
|
Presto |
withTimeZoneId(Object timeZoneId)
Set the time |
|
Presto |
withTrustedCertPath(Object trustedCertPath)
Set the trusted |
|
Presto |
withUsername(Object username)
Set the username property: The user name used to connect to the Presto server. |
|
Presto |
withUseSystemTrustStore(Object useSystemTrustStore)
Set the use |
|
Presto |
withVersion(String version)
Set the version property: Version of the linked service. |
Methods inherited from LinkedService
Methods inherited from java.lang.Object
Constructor Details
PrestoLinkedService
public PrestoLinkedService()
Creates an instance of PrestoLinkedService class.
Method Details
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. Only used for Version 1.0.
Returns:
allowSelfSignedServerCert
public Object allowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false. Only used for Version 1.0.
Returns:
authenticationType
public PrestoAuthenticationType authenticationType()
Get the authenticationType property: The authentication mechanism used to connect to the Presto server.
Returns:
catalog
public Object catalog()
Get the catalog property: The catalog context for all request against the server.
Returns:
enableServerCertificateValidation
public Object enableServerCertificateValidation()
Get the enableServerCertificateValidation property: Specifies whether the connections to the server will validate server certificate, the default value is True. Only used for Version 2.0.
Returns:
enableSsl
public Object enableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value for legacy version is False. The default value for version 2.0 is True.
Returns:
encryptedCredential
public String encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
Returns:
fromJson
public static PrestoLinkedService fromJson(JsonReader jsonReader)
Reads an instance of PrestoLinkedService from the JsonReader.
Parameters:
Returns:
Throws:
host
public Object host()
Get the host property: The IP address or host name of the Presto server. (i.e. 192.168.222.160).
Returns:
password
public SecretBase password()
Get the password property: The password corresponding to the user name.
Returns:
port
public Object port()
Get the port property: The TCP port that the Presto server uses to listen for client connections. The default value is 8080 when disable SSL, default value is 443 when enable SSL.
Returns:
serverVersion
public Object serverVersion()
Get the serverVersion property: The version of the Presto server. (i.e. 0.148-t) Only used for Version 1.0.
Returns:
timeZoneId
public Object timeZoneId()
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 for Version 1.0 is the client system time zone. The default value for Version 2.0 is server system timeZone.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrestoLinkedService.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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. Only used for Version 1.0.
Returns:
type
public String type()
Get the type property: Type of linked service.
Overrides:
PrestoLinkedService.type()Returns:
username
public Object username()
Get the username property: The user name used to connect to the Presto server.
Returns:
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. Only used for Version 1.0.
Returns:
withAllowHostnameCNMismatch
public PrestoLinkedService 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. Only used for Version 1.0.
Parameters:
Returns:
withAllowSelfSignedServerCert
public PrestoLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false. Only used for Version 1.0.
Parameters:
Returns:
withAnnotations
public PrestoLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.
Overrides:
PrestoLinkedService.withAnnotations(List<Object> annotations)Parameters:
withAuthenticationType
public PrestoLinkedService withAuthenticationType(PrestoAuthenticationType authenticationType)
Set the authenticationType property: The authentication mechanism used to connect to the Presto server.
Parameters:
Returns:
withCatalog
public PrestoLinkedService withCatalog(Object catalog)
Set the catalog property: The catalog context for all request against the server.
Parameters:
Returns:
withConnectVia
public PrestoLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
Overrides:
PrestoLinkedService.withConnectVia(IntegrationRuntimeReference connectVia)Parameters:
withDescription
public PrestoLinkedService withDescription(String description)
Set the description property: Linked service description.
Overrides:
PrestoLinkedService.withDescription(String description)Parameters:
withEnableServerCertificateValidation
public PrestoLinkedService withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: Specifies whether the connections to the server will validate server certificate, the default value is True. Only used for Version 2.0.
Parameters:
Returns:
withEnableSsl
public PrestoLinkedService withEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value for legacy version is False. The default value for version 2.0 is True.
Parameters:
Returns:
withEncryptedCredential
public PrestoLinkedService withEncryptedCredential(String encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
Parameters:
Returns:
withHost
public PrestoLinkedService withHost(Object host)
Set the host property: The IP address or host name of the Presto server. (i.e. 192.168.222.160).
Parameters:
Returns:
withParameters
public PrestoLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.
Overrides:
PrestoLinkedService.withParameters(Map<String,ParameterSpecification> parameters)Parameters:
withPassword
public PrestoLinkedService withPassword(SecretBase password)
Set the password property: The password corresponding to the user name.
Parameters:
Returns:
withPort
public PrestoLinkedService withPort(Object port)
Set the port property: The TCP port that the Presto server uses to listen for client connections. The default value is 8080 when disable SSL, default value is 443 when enable SSL.
Parameters:
Returns:
withServerVersion
public PrestoLinkedService withServerVersion(Object serverVersion)
Set the serverVersion property: The version of the Presto server. (i.e. 0.148-t) Only used for Version 1.0.
Parameters:
Returns:
withTimeZoneId
public PrestoLinkedService withTimeZoneId(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 for Version 1.0 is the client system time zone. The default value for Version 2.0 is server system timeZone.
Parameters:
Returns:
withTrustedCertPath
public PrestoLinkedService 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. Only used for Version 1.0.
Parameters:
Returns:
withUsername
public PrestoLinkedService withUsername(Object username)
Set the username property: The user name used to connect to the Presto server.
Parameters:
Returns:
withUseSystemTrustStore
public PrestoLinkedService 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. Only used for Version 1.0.
Parameters:
Returns:
withVersion
public PrestoLinkedService withVersion(String version)
Set the version property: Version of the linked service.
Overrides:
PrestoLinkedService.withVersion(String version)Parameters: