Class WebClientCertificateAuthentication
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.WebLinkedServiceTypeProperties
-
- com.azure.resourcemanager.datafactory.models.WebClientCertificateAuthentication
-
public final class WebClientCertificateAuthentication extends WebLinkedServiceTypeProperties
A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client.
-
-
Constructor Summary
Constructors Constructor Description WebClientCertificateAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBase
password()
Get the password property: Password for the PFX file.SecretBase
pfx()
Get the pfx property: Base64-encoded contents of a PFX file.void
validate()
Validates the instance.WebClientCertificateAuthentication
withPassword(SecretBase password)
Set the password property: Password for the PFX file.WebClientCertificateAuthentication
withPfx(SecretBase pfx)
Set the pfx property: Base64-encoded contents of a PFX file.WebClientCertificateAuthentication
withUrl(Object url)
Set the url property: The URL of the web service endpoint, e.g.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.WebLinkedServiceTypeProperties
url
-
-
-
-
Method Detail
-
pfx
public SecretBase pfx()
Get the pfx property: Base64-encoded contents of a PFX file.- Returns:
- the pfx value.
-
withPfx
public WebClientCertificateAuthentication withPfx(SecretBase pfx)
Set the pfx property: Base64-encoded contents of a PFX file.- Parameters:
pfx
- the pfx value to set.- Returns:
- the WebClientCertificateAuthentication object itself.
-
password
public SecretBase password()
Get the password property: Password for the PFX file.- Returns:
- the password value.
-
withPassword
public WebClientCertificateAuthentication withPassword(SecretBase password)
Set the password property: Password for the PFX file.- Parameters:
password
- the password value to set.- Returns:
- the WebClientCertificateAuthentication object itself.
-
withUrl
public WebClientCertificateAuthentication withUrl(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:
withUrl
in classWebLinkedServiceTypeProperties
- Parameters:
url
- the url value to set.- Returns:
- the WebLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classWebLinkedServiceTypeProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-