Class FtpServerLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.FtpServerLinkedService
-
public final class FtpServerLinkedService extends LinkedService
A FTP server Linked Service.
-
-
Constructor Summary
Constructors Constructor Description FtpServerLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FtpAuthenticationType
authenticationType()
Get the authenticationType property: The authentication type to be used to connect to the FTP server.Object
enableServerCertificateValidation()
Get the enableServerCertificateValidation property: If true, validate the FTP server SSL certificate when connect over SSL/TLS channel.Object
enableSsl()
Get the enableSsl property: If true, connect to the FTP server over SSL/TLS channel.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
host()
Get the host property: Host name of the FTP server.SecretBase
password()
Get the password property: Password to logon the FTP server.Object
port()
Get the port property: The TCP port number that the FTP server uses to listen for client connections.Object
username()
Get the username property: Username to logon the FTP server.void
validate()
Validates the instance.FtpServerLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.FtpServerLinkedService
withAuthenticationType(FtpAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to be used to connect to the FTP server.FtpServerLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.FtpServerLinkedService
withDescription(String description)
Set the description property: Linked service description.FtpServerLinkedService
withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: If true, validate the FTP server SSL certificate when connect over SSL/TLS channel.FtpServerLinkedService
withEnableSsl(Object enableSsl)
Set the enableSsl property: If true, connect to the FTP server over SSL/TLS channel.FtpServerLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.FtpServerLinkedService
withHost(Object host)
Set the host property: Host name of the FTP server.FtpServerLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.FtpServerLinkedService
withPassword(SecretBase password)
Set the password property: Password to logon the FTP server.FtpServerLinkedService
withPort(Object port)
Set the port property: The TCP port number that the FTP server uses to listen for client connections.FtpServerLinkedService
withUsername(Object username)
Set the username property: Username to logon the FTP server.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public FtpServerLinkedService 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 FtpServerLinkedService 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 FtpServerLinkedService 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 FtpServerLinkedService 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.
-
host
public Object host()
Get the host property: Host name of the FTP server. Type: string (or Expression with resultType string).- Returns:
- the host value.
-
withHost
public FtpServerLinkedService withHost(Object host)
Set the host property: Host name of the FTP server. Type: string (or Expression with resultType string).- Parameters:
host
- the host value to set.- Returns:
- the FtpServerLinkedService object itself.
-
port
public Object port()
Get the port property: The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the port value.
-
withPort
public FtpServerLinkedService withPort(Object port)
Set the port property: The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
port
- the port value to set.- Returns:
- the FtpServerLinkedService object itself.
-
authenticationType
public FtpAuthenticationType authenticationType()
Get the authenticationType property: The authentication type to be used to connect to the FTP server.- Returns:
- the authenticationType value.
-
withAuthenticationType
public FtpServerLinkedService withAuthenticationType(FtpAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to be used to connect to the FTP server.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the FtpServerLinkedService object itself.
-
username
public Object username()
Get the username property: Username to logon the FTP server. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public FtpServerLinkedService withUsername(Object username)
Set the username property: Username to logon the FTP server. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the FtpServerLinkedService object itself.
-
password
public SecretBase password()
Get the password property: Password to logon the FTP server.- Returns:
- the password value.
-
withPassword
public FtpServerLinkedService withPassword(SecretBase password)
Set the password property: Password to logon the FTP server.- Parameters:
password
- the password value to set.- Returns:
- the FtpServerLinkedService 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 FtpServerLinkedService 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 FtpServerLinkedService object itself.
-
enableSsl
public Object enableSsl()
Get the enableSsl property: If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableSsl value.
-
withEnableSsl
public FtpServerLinkedService withEnableSsl(Object enableSsl)
Set the enableSsl property: If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).- Parameters:
enableSsl
- the enableSsl value to set.- Returns:
- the FtpServerLinkedService object itself.
-
enableServerCertificateValidation
public Object enableServerCertificateValidation()
Get the enableServerCertificateValidation property: If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableServerCertificateValidation value.
-
withEnableServerCertificateValidation
public FtpServerLinkedService withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean).- Parameters:
enableServerCertificateValidation
- the enableServerCertificateValidation value to set.- Returns:
- the FtpServerLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-