Class PrestoLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.PrestoLinkedService
-
public final 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
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.Object
allowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.PrestoAuthenticationType
authenticationType()
Get the authenticationType property: The authentication mechanism used to connect to the Presto server.Object
catalog()
Get the catalog property: The catalog context for all request against the server.Object
enableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
host()
Get the host property: The IP address or host name of the Presto server.SecretBase
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 serverVersion property: The version of the Presto server.Object
timeZoneId()
Get the timeZoneId property: The local time zone used by the connection.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.Object
username()
Get the username property: The user name used to connect to the Presto server.Object
useSystemTrustStore()
Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.void
validate()
Validates the instance.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.PrestoLinkedService
withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.PrestoLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.PrestoLinkedService
withAuthenticationType(PrestoAuthenticationType authenticationType)
Set the authenticationType property: The authentication mechanism used to connect to the Presto server.PrestoLinkedService
withCatalog(Object catalog)
Set the catalog property: The catalog context for all request against the server.PrestoLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.PrestoLinkedService
withDescription(String description)
Set the description property: Linked service description.PrestoLinkedService
withEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.PrestoLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.PrestoLinkedService
withHost(Object host)
Set the host property: The IP address or host name of the Presto server.PrestoLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.PrestoLinkedService
withPassword(SecretBase password)
Set the password property: The password corresponding to the user name.PrestoLinkedService
withPort(Object port)
Set the port property: The TCP port that the Presto server uses to listen for client connections.PrestoLinkedService
withServerVersion(Object serverVersion)
Set the serverVersion property: The version of the Presto server.PrestoLinkedService
withTimeZoneId(Object timeZoneId)
Set the timeZoneId property: The local time zone used by the connection.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.PrestoLinkedService
withUsername(Object username)
Set the username property: The user name used to connect to the Presto server.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.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public PrestoLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public PrestoLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public PrestoLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public PrestoLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
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:
- the host value.
-
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:
host
- the host value to set.- Returns:
- the PrestoLinkedService object itself.
-
serverVersion
public Object serverVersion()
Get the serverVersion property: The version of the Presto server. (i.e. 0.148-t).- Returns:
- the serverVersion value.
-
withServerVersion
public PrestoLinkedService withServerVersion(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.
-
catalog
public Object catalog()
Get the catalog property: The catalog context for all request against the server.- Returns:
- the catalog value.
-
withCatalog
public PrestoLinkedService withCatalog(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.
-
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.- Returns:
- the port value.
-
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.- Parameters:
port
- the port value to set.- Returns:
- the PrestoLinkedService object itself.
-
authenticationType
public PrestoAuthenticationType authenticationType()
Get the authenticationType property: The authentication mechanism used to connect to the Presto server.- Returns:
- the authenticationType value.
-
withAuthenticationType
public PrestoLinkedService withAuthenticationType(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.
-
username
public Object username()
Get the username property: The user name used to connect to the Presto server.- Returns:
- the username value.
-
withUsername
public PrestoLinkedService withUsername(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.
-
password
public SecretBase password()
Get the password property: The password corresponding to the user name.- Returns:
- the password value.
-
withPassword
public PrestoLinkedService withPassword(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.
-
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 PrestoLinkedService 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 PrestoLinkedService 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 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.- Parameters:
trustedCertPath
- the trustedCertPath value to set.- Returns:
- the PrestoLinkedService 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 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.- Parameters:
useSystemTrustStore
- the useSystemTrustStore value to set.- Returns:
- the PrestoLinkedService 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 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.- Parameters:
allowHostnameCNMismatch
- the allowHostnameCNMismatch value to set.- Returns:
- the PrestoLinkedService 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 PrestoLinkedService 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 PrestoLinkedService object itself.
-
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 is the system time zone.- Returns:
- the timeZoneId value.
-
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 is the system time zone.- Parameters:
timeZoneId
- the timeZoneId value to set.- Returns:
- the PrestoLinkedService 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 PrestoLinkedService 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 PrestoLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-