Class SparkLinkedService

java.lang.Object
com.azure.analytics.synapse.artifacts.models.LinkedService
com.azure.analytics.synapse.artifacts.models.SparkLinkedService

public class SparkLinkedService extends LinkedService
Spark Server linked service.
  • Constructor Details

    • SparkLinkedService

      public SparkLinkedService()
  • Method Details

    • getHost

      public Object getHost()
      Get the host property: IP address or host name of the Spark server.
      Returns:
      the host value.
    • setHost

      public SparkLinkedService setHost(Object host)
      Set the host property: IP address or host name of the Spark server.
      Parameters:
      host - the host value to set.
      Returns:
      the SparkLinkedService object itself.
    • getPort

      public Object getPort()
      Get the port property: The TCP port that the Spark server uses to listen for client connections.
      Returns:
      the port value.
    • setPort

      public SparkLinkedService setPort(Object port)
      Set the port property: The TCP port that the Spark server uses to listen for client connections.
      Parameters:
      port - the port value to set.
      Returns:
      the SparkLinkedService object itself.
    • getServerType

      public SparkServerType getServerType()
      Get the serverType property: The type of Spark server.
      Returns:
      the serverType value.
    • setServerType

      public SparkLinkedService setServerType(SparkServerType serverType)
      Set the serverType property: The type of Spark server.
      Parameters:
      serverType - the serverType value to set.
      Returns:
      the SparkLinkedService object itself.
    • getThriftTransportProtocol

      public SparkThriftTransportProtocol getThriftTransportProtocol()
      Get the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.
      Returns:
      the thriftTransportProtocol value.
    • setThriftTransportProtocol

      public SparkLinkedService setThriftTransportProtocol(SparkThriftTransportProtocol thriftTransportProtocol)
      Set the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.
      Parameters:
      thriftTransportProtocol - the thriftTransportProtocol value to set.
      Returns:
      the SparkLinkedService object itself.
    • getAuthenticationType

      public SparkAuthenticationType getAuthenticationType()
      Get the authenticationType property: The authentication method used to access the Spark server.
      Returns:
      the authenticationType value.
    • setAuthenticationType

      public SparkLinkedService setAuthenticationType(SparkAuthenticationType authenticationType)
      Set the authenticationType property: The authentication method used to access the Spark server.
      Parameters:
      authenticationType - the authenticationType value to set.
      Returns:
      the SparkLinkedService object itself.
    • getUsername

      public Object getUsername()
      Get the username property: The user name that you use to access Spark Server.
      Returns:
      the username value.
    • setUsername

      public SparkLinkedService setUsername(Object username)
      Set the username property: The user name that you use to access Spark Server.
      Parameters:
      username - the username value to set.
      Returns:
      the SparkLinkedService object itself.
    • getPassword

      public SecretBase getPassword()
      Get the password property: The password corresponding to the user name that you provided in the Username field.
      Returns:
      the password value.
    • setPassword

      public SparkLinkedService setPassword(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 SparkLinkedService object itself.
    • getHttpPath

      public Object getHttpPath()
      Get the httpPath property: The partial URL corresponding to the Spark server.
      Returns:
      the httpPath value.
    • setHttpPath

      public SparkLinkedService setHttpPath(Object httpPath)
      Set the httpPath property: The partial URL corresponding to the Spark server.
      Parameters:
      httpPath - the httpPath value to set.
      Returns:
      the SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService 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 SparkLinkedService object itself.
    • setConnectVia

      public SparkLinkedService setConnectVia(IntegrationRuntimeReference connectVia)
      Set the connectVia property: The integration runtime reference.
      Overrides:
      setConnectVia in class LinkedService
      Parameters:
      connectVia - the connectVia value to set.
      Returns:
      the LinkedService object itself.
    • setDescription

      public SparkLinkedService setDescription(String description)
      Set the description property: Linked service description.
      Overrides:
      setDescription in class LinkedService
      Parameters:
      description - the description value to set.
      Returns:
      the LinkedService object itself.
    • setParameters

      public SparkLinkedService setParameters(Map<String,ParameterSpecification> parameters)
      Set the parameters property: Parameters for linked service.
      Overrides:
      setParameters in class LinkedService
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the LinkedService object itself.
    • setAnnotations

      public SparkLinkedService setAnnotations(List<Object> annotations)
      Set the annotations property: List of tags that can be used for describing the linked service.
      Overrides:
      setAnnotations in class LinkedService
      Parameters:
      annotations - the annotations value to set.
      Returns:
      the LinkedService object itself.