Class WebActivityAuthentication
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.WebActivityAuthentication
-
public final class WebActivityAuthentication extends Object
Web activity authentication properties.
-
-
Constructor Summary
Constructors Constructor Description WebActivityAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBase
getPassword()
Get the password property: Password for the PFX file or basic authentication.SecretBase
getPfx()
Get the pfx property: Base64-encoded contents of a PFX file.String
getResource()
Get the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.String
getType()
Get the type property: Web activity authentication (Basic/ClientCertificate/MSI).String
getUsername()
Get the username property: Web activity authentication user name for basic authentication.WebActivityAuthentication
setPassword(SecretBase password)
Set the password property: Password for the PFX file or basic authentication.WebActivityAuthentication
setPfx(SecretBase pfx)
Set the pfx property: Base64-encoded contents of a PFX file.WebActivityAuthentication
setResource(String resource)
Set the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.WebActivityAuthentication
setType(String type)
Set the type property: Web activity authentication (Basic/ClientCertificate/MSI).WebActivityAuthentication
setUsername(String username)
Set the username property: Web activity authentication user name for basic authentication.
-
-
-
Method Detail
-
getType
public String getType()
Get the type property: Web activity authentication (Basic/ClientCertificate/MSI).- Returns:
- the type value.
-
setType
public WebActivityAuthentication setType(String type)
Set the type property: Web activity authentication (Basic/ClientCertificate/MSI).- Parameters:
type
- the type value to set.- Returns:
- the WebActivityAuthentication object itself.
-
getPfx
public SecretBase getPfx()
Get the pfx property: Base64-encoded contents of a PFX file.- Returns:
- the pfx value.
-
setPfx
public WebActivityAuthentication setPfx(SecretBase pfx)
Set the pfx property: Base64-encoded contents of a PFX file.- Parameters:
pfx
- the pfx value to set.- Returns:
- the WebActivityAuthentication object itself.
-
getUsername
public String getUsername()
Get the username property: Web activity authentication user name for basic authentication.- Returns:
- the username value.
-
setUsername
public WebActivityAuthentication setUsername(String username)
Set the username property: Web activity authentication user name for basic authentication.- Parameters:
username
- the username value to set.- Returns:
- the WebActivityAuthentication object itself.
-
getPassword
public SecretBase getPassword()
Get the password property: Password for the PFX file or basic authentication.- Returns:
- the password value.
-
setPassword
public WebActivityAuthentication setPassword(SecretBase password)
Set the password property: Password for the PFX file or basic authentication.- Parameters:
password
- the password value to set.- Returns:
- the WebActivityAuthentication object itself.
-
getResource
public String getResource()
Get the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.- Returns:
- the resource value.
-
setResource
public WebActivityAuthentication setResource(String resource)
Set the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.- Parameters:
resource
- the resource value to set.- Returns:
- the WebActivityAuthentication object itself.
-
-