public final class WebBasicAuthentication extends WebLinkedServiceTypeProperties
| Constructor and Description |
|---|
WebBasicAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
SecretBase |
password()
Get the password property: The password for Basic authentication.
|
Object |
username()
Get the username property: User name for Basic authentication.
|
void |
validate()
Validates the instance.
|
WebBasicAuthentication |
withPassword(SecretBase password)
Set the password property: The password for Basic authentication.
|
WebBasicAuthentication |
withUrl(Object url)
Set the url property: The URL of the web service endpoint, e.g.
|
WebBasicAuthentication |
withUsername(Object username)
Set the username property: User name for Basic authentication.
|
urlpublic Object username()
public WebBasicAuthentication withUsername(Object username)
username - the username value to set.public SecretBase password()
public WebBasicAuthentication withPassword(SecretBase password)
password - the password value to set.public WebBasicAuthentication withUrl(Object url)
withUrl in class WebLinkedServiceTypePropertiesurl - the url value to set.public void validate()
validate in class WebLinkedServiceTypePropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.