Class HdfsLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.HdfsLinkedService
-
public final class HdfsLinkedService extends LinkedService
Hadoop Distributed File System (HDFS) linked service.
-
-
Constructor Summary
Constructors Constructor Description HdfsLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
authenticationType()
Get the authenticationType property: Type of authentication used to connect to the HDFS.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
password()
Get the password property: Password for Windows authentication.Object
url()
Get the url property: The URL of the HDFS service endpoint, e.g.Object
username()
Get the username property: User name for Windows authentication.void
validate()
Validates the instance.HdfsLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.HdfsLinkedService
withAuthenticationType(Object authenticationType)
Set the authenticationType property: Type of authentication used to connect to the HDFS.HdfsLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.HdfsLinkedService
withDescription(String description)
Set the description property: Linked service description.HdfsLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.HdfsLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.HdfsLinkedService
withPassword(SecretBase password)
Set the password property: Password for Windows authentication.HdfsLinkedService
withUrl(Object url)
Set the url property: The URL of the HDFS service endpoint, e.g.HdfsLinkedService
withUsername(Object username)
Set the username property: User name for Windows authentication.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public HdfsLinkedService 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 HdfsLinkedService 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 HdfsLinkedService 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 HdfsLinkedService 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.
-
url
public Object url()
Get the url property: The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
public HdfsLinkedService withUrl(Object url)
Set the url property: The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).- Parameters:
url
- the url value to set.- Returns:
- the HdfsLinkedService object itself.
-
authenticationType
public Object authenticationType()
Get the authenticationType property: Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string).- Returns:
- the authenticationType value.
-
withAuthenticationType
public HdfsLinkedService withAuthenticationType(Object authenticationType)
Set the authenticationType property: Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string).- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the HdfsLinkedService 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 HdfsLinkedService 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 HdfsLinkedService object itself.
-
username
public Object username()
Get the username property: User name for Windows authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public HdfsLinkedService withUsername(Object username)
Set the username property: User name for Windows authentication. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the HdfsLinkedService object itself.
-
password
public SecretBase password()
Get the password property: Password for Windows authentication.- Returns:
- the password value.
-
withPassword
public HdfsLinkedService withPassword(SecretBase password)
Set the password property: Password for Windows authentication.- Parameters:
password
- the password value to set.- Returns:
- the HdfsLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-