Class WebBasicAuthentication
java.lang.Object
com.azure.analytics.synapse.artifacts.models.WebLinkedServiceTypeProperties
com.azure.analytics.synapse.artifacts.models.WebBasicAuthentication
A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WebBasicAuthentication class. -
Method Summary
Modifier and TypeMethodDescriptionGet the password property: The password for Basic authentication.Get the username property: User name for Basic authentication.setPassword
(SecretBase password) Set the password property: The password for Basic authentication.Set the url property: The URL of the web service endpoint, e.g.setUsername
(Object username) Set the username property: User name for Basic authentication.Methods inherited from class com.azure.analytics.synapse.artifacts.models.WebLinkedServiceTypeProperties
getUrl
-
Constructor Details
-
WebBasicAuthentication
public WebBasicAuthentication()Creates an instance of WebBasicAuthentication class.
-
-
Method Details
-
getUsername
Get the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
setUsername
Set the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the WebBasicAuthentication object itself.
-
getPassword
Get the password property: The password for Basic authentication.- Returns:
- the password value.
-
setPassword
Set the password property: The password for Basic authentication.- Parameters:
password
- the password value to set.- Returns:
- the WebBasicAuthentication object itself.
-
setUrl
Set the url property: The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string).- Overrides:
setUrl
in classWebLinkedServiceTypeProperties
- Parameters:
url
- the url value to set.- Returns:
- the WebLinkedServiceTypeProperties object itself.
-