Class WebBasicAuthentication
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.WebLinkedServiceTypeProperties
-
- com.azure.analytics.synapse.artifacts.models.WebBasicAuthentication
-
public final class WebBasicAuthentication extends WebLinkedServiceTypeProperties
A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint.
-
-
Constructor Summary
Constructors Constructor Description WebBasicAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBase
getPassword()
Get the password property: The password for Basic authentication.Object
getUsername()
Get the username property: User name for Basic authentication.WebBasicAuthentication
setPassword(SecretBase password)
Set the password property: The password for Basic authentication.WebBasicAuthentication
setUrl(Object url)
Set the url property: The URL of the web service endpoint, e.g.WebBasicAuthentication
setUsername(Object username)
Set the username property: User name for Basic authentication.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.WebLinkedServiceTypeProperties
getUrl
-
-
-
-
Method Detail
-
getUsername
public Object getUsername()
Get the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
setUsername
public WebBasicAuthentication setUsername(Object username)
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
public SecretBase getPassword()
Get the password property: The password for Basic authentication.- Returns:
- the password value.
-
setPassword
public WebBasicAuthentication setPassword(SecretBase password)
Set the password property: The password for Basic authentication.- Parameters:
password
- the password value to set.- Returns:
- the WebBasicAuthentication object itself.
-
setUrl
public WebBasicAuthentication setUrl(Object url)
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.
-
-