public final class SparkLinkedServiceTypeProperties extends Object
| Constructor and Description |
|---|
SparkLinkedServiceTypeProperties() |
| Modifier and Type | Method and 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.
|
SparkAuthenticationType |
authenticationType()
Get the authenticationType property: The authentication method used to access the Spark 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: IP address or host name of the Spark server.
|
Object |
httpPath()
Get the httpPath property: The partial URL corresponding to the Spark server.
|
SecretBase |
password()
Get the password property: The password corresponding to the user name that you provided in the Username field.
|
Object |
port()
Get the port property: The TCP port that the Spark server uses to listen for client connections.
|
SparkServerType |
serverType()
Get the serverType property: The type of Spark server.
|
SparkThriftTransportProtocol |
thriftTransportProtocol()
Get the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.
|
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 that you use to access Spark 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.
|
SparkLinkedServiceTypeProperties |
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.
|
SparkLinkedServiceTypeProperties |
withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.
|
SparkLinkedServiceTypeProperties |
withAuthenticationType(SparkAuthenticationType authenticationType)
Set the authenticationType property: The authentication method used to access the Spark server.
|
SparkLinkedServiceTypeProperties |
withEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.
|
SparkLinkedServiceTypeProperties |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
SparkLinkedServiceTypeProperties |
withHost(Object host)
Set the host property: IP address or host name of the Spark server.
|
SparkLinkedServiceTypeProperties |
withHttpPath(Object httpPath)
Set the httpPath property: The partial URL corresponding to the Spark server.
|
SparkLinkedServiceTypeProperties |
withPassword(SecretBase password)
Set the password property: The password corresponding to the user name that you provided in the Username field.
|
SparkLinkedServiceTypeProperties |
withPort(Object port)
Set the port property: The TCP port that the Spark server uses to listen for client connections.
|
SparkLinkedServiceTypeProperties |
withServerType(SparkServerType serverType)
Set the serverType property: The type of Spark server.
|
SparkLinkedServiceTypeProperties |
withThriftTransportProtocol(SparkThriftTransportProtocol thriftTransportProtocol)
Set the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.
|
SparkLinkedServiceTypeProperties |
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.
|
SparkLinkedServiceTypeProperties |
withUsername(Object username)
Set the username property: The user name that you use to access Spark Server.
|
SparkLinkedServiceTypeProperties |
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.
|
public Object host()
public SparkLinkedServiceTypeProperties withHost(Object host)
host - the host value to set.public Object port()
public SparkLinkedServiceTypeProperties withPort(Object port)
port - the port value to set.public SparkServerType serverType()
public SparkLinkedServiceTypeProperties withServerType(SparkServerType serverType)
serverType - the serverType value to set.public SparkThriftTransportProtocol thriftTransportProtocol()
public SparkLinkedServiceTypeProperties withThriftTransportProtocol(SparkThriftTransportProtocol thriftTransportProtocol)
thriftTransportProtocol - the thriftTransportProtocol value to set.public SparkAuthenticationType authenticationType()
public SparkLinkedServiceTypeProperties withAuthenticationType(SparkAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public SparkLinkedServiceTypeProperties withUsername(Object username)
username - the username value to set.public SecretBase password()
public SparkLinkedServiceTypeProperties withPassword(SecretBase password)
password - the password value to set.public Object httpPath()
public SparkLinkedServiceTypeProperties withHttpPath(Object httpPath)
httpPath - the httpPath value to set.public Object enableSsl()
public SparkLinkedServiceTypeProperties withEnableSsl(Object enableSsl)
enableSsl - the enableSsl value to set.public Object trustedCertPath()
public SparkLinkedServiceTypeProperties withTrustedCertPath(Object trustedCertPath)
trustedCertPath - the trustedCertPath value to set.public Object useSystemTrustStore()
public SparkLinkedServiceTypeProperties withUseSystemTrustStore(Object useSystemTrustStore)
useSystemTrustStore - the useSystemTrustStore value to set.public Object allowHostnameCNMismatch()
public SparkLinkedServiceTypeProperties withAllowHostnameCNMismatch(Object allowHostnameCNMismatch)
allowHostnameCNMismatch - the allowHostnameCNMismatch value to set.public Object allowSelfSignedServerCert()
public SparkLinkedServiceTypeProperties withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
allowSelfSignedServerCert - the allowSelfSignedServerCert value to set.public Object encryptedCredential()
public SparkLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.