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 ObjectauthenticationType()Get the authenticationType property: Type of authentication used to connect to the HDFS.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: Password for Windows authentication.Objecturl()Get the url property: The URL of the HDFS service endpoint, e.g.Objectusername()Get the username property: User name for Windows authentication.voidvalidate()Validates the instance.HdfsLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.HdfsLinkedServicewithAuthenticationType(Object authenticationType)Set the authenticationType property: Type of authentication used to connect to the HDFS.HdfsLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.HdfsLinkedServicewithDescription(String description)Set the description property: Linked service description.HdfsLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.HdfsLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.HdfsLinkedServicewithPassword(SecretBase password)Set the password property: Password for Windows authentication.HdfsLinkedServicewithUrl(Object url)Set the url property: The URL of the HDFS service endpoint, e.g.HdfsLinkedServicewithUsername(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:
withConnectViain 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:
withDescriptionin 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:
withParametersin 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:
withAnnotationsin 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:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-