Class PrestoLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.PrestoLinkedServiceTypeProperties
Presto server linked service properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.Get the authenticationType property: The authentication mechanism used to connect to the Presto server.catalog()
Get the catalog property: The catalog context for all request against the server.Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.Get the encryptedCredential property: The encrypted credential used for authentication.host()
Get the host property: The IP address or host name of the Presto server.password()
Get the password property: The password corresponding to the user name.port()
Get the port property: The TCP port that the Presto server uses to listen for client connections.Get the serverVersion property: The version of the Presto server.Get the timeZoneId property: The local time zone used by the connection.Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL.username()
Get the username property: The user name used to connect to the Presto server.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.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.withAllowSelfSignedServerCert
(Object allowSelfSignedServerCert) Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.withAuthenticationType
(PrestoAuthenticationType authenticationType) Set the authenticationType property: The authentication mechanism used to connect to the Presto server.withCatalog
(Object catalog) Set the catalog property: The catalog context for all request against the server.withEnableSsl
(Object enableSsl) Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.Set the host property: The IP address or host name of the Presto server.withPassword
(SecretBase password) Set the password property: The password corresponding to the user name.Set the port property: The TCP port that the Presto server uses to listen for client connections.withServerVersion
(Object serverVersion) Set the serverVersion property: The version of the Presto server.withTimeZoneId
(Object timeZoneId) Set the timeZoneId property: The local time zone used by the connection.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.withUsername
(Object username) Set the username property: The user name used to connect to the Presto server.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.
-
Constructor Details
-
PrestoLinkedServiceTypeProperties
public PrestoLinkedServiceTypeProperties()
-
-
Method Details
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
serverVersion
Get the serverVersion property: The version of the Presto server. (i.e. 0.148-t).- Returns:
- the serverVersion value.
-
withServerVersion
Set the serverVersion property: The version of the Presto server. (i.e. 0.148-t).- Parameters:
serverVersion
- the serverVersion value to set.- Returns:
- the PrestoLinkedServiceTypeProperties object itself.
-
catalog
Get the catalog property: The catalog context for all request against the server.- Returns:
- the catalog value.
-
withCatalog
Set the catalog property: The catalog context for all request against the server.- Parameters:
catalog
- the catalog value to set.- Returns:
- the PrestoLinkedServiceTypeProperties object itself.
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
authenticationType
Get the authenticationType property: The authentication mechanism used to connect to the Presto server.- Returns:
- the authenticationType value.
-
withAuthenticationType
public PrestoLinkedServiceTypeProperties 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 PrestoLinkedServiceTypeProperties object itself.
-
username
Get the username property: The user name used to connect to the Presto server.- Returns:
- the username value.
-
withUsername
Set the username property: The user name used to connect to the Presto server.- Parameters:
username
- the username value to set.- Returns:
- the PrestoLinkedServiceTypeProperties object itself.
-
password
Get the password property: The password corresponding to the user name.- Returns:
- the password value.
-
withPassword
Set the password property: The password corresponding to the user name.- Parameters:
password
- the password value to set.- Returns:
- the PrestoLinkedServiceTypeProperties object itself.
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
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 PrestoLinkedServiceTypeProperties 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 PrestoLinkedServiceTypeProperties object itself.
-
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 PrestoLinkedServiceTypeProperties 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 PrestoLinkedServiceTypeProperties object itself.
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
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
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 PrestoLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-