Class TeamDeskLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.TeamDeskLinkedService
-
public final class TeamDeskLinkedService extends LinkedService
Linked service for TeamDesk.
-
-
Constructor Summary
Constructors Constructor Description TeamDeskLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBaseapiToken()Get the apiToken property: The api token for the TeamDesk source.TeamDeskAuthenticationTypeauthenticationType()Get the authenticationType property: The authentication type to use.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: The password of the TeamDesk source.Objecturl()Get the url property: The url to connect TeamDesk source.Objectusername()Get the username property: The username of the TeamDesk source.voidvalidate()Validates the instance.TeamDeskLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.TeamDeskLinkedServicewithApiToken(SecretBase apiToken)Set the apiToken property: The api token for the TeamDesk source.TeamDeskLinkedServicewithAuthenticationType(TeamDeskAuthenticationType authenticationType)Set the authenticationType property: The authentication type to use.TeamDeskLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.TeamDeskLinkedServicewithDescription(String description)Set the description property: Linked service description.TeamDeskLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.TeamDeskLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.TeamDeskLinkedServicewithPassword(SecretBase password)Set the password property: The password of the TeamDesk source.TeamDeskLinkedServicewithUrl(Object url)Set the url property: The url to connect TeamDesk source.TeamDeskLinkedServicewithUsername(Object username)Set the username property: The username of the TeamDesk source.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public TeamDeskLinkedService 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 TeamDeskLinkedService 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 TeamDeskLinkedService 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 TeamDeskLinkedService 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.
-
authenticationType
public TeamDeskAuthenticationType authenticationType()
Get the authenticationType property: The authentication type to use.- Returns:
- the authenticationType value.
-
withAuthenticationType
public TeamDeskLinkedService withAuthenticationType(TeamDeskAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to use.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the TeamDeskLinkedService object itself.
-
url
public Object url()
Get the url property: The url to connect TeamDesk source. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
public TeamDeskLinkedService withUrl(Object url)
Set the url property: The url to connect TeamDesk source. Type: string (or Expression with resultType string).- Parameters:
url- the url value to set.- Returns:
- the TeamDeskLinkedService object itself.
-
username
public Object username()
Get the username property: The username of the TeamDesk source. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public TeamDeskLinkedService withUsername(Object username)
Set the username property: The username of the TeamDesk source. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the TeamDeskLinkedService object itself.
-
password
public SecretBase password()
Get the password property: The password of the TeamDesk source.- Returns:
- the password value.
-
withPassword
public TeamDeskLinkedService withPassword(SecretBase password)
Set the password property: The password of the TeamDesk source.- Parameters:
password- the password value to set.- Returns:
- the TeamDeskLinkedService object itself.
-
apiToken
public SecretBase apiToken()
Get the apiToken property: The api token for the TeamDesk source.- Returns:
- the apiToken value.
-
withApiToken
public TeamDeskLinkedService withApiToken(SecretBase apiToken)
Set the apiToken property: The api token for the TeamDesk source.- Parameters:
apiToken- the apiToken value to set.- Returns:
- the TeamDeskLinkedService 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 TeamDeskLinkedService 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 TeamDeskLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-