Class WebActivityAuthentication

java.lang.Object
com.azure.analytics.synapse.artifacts.models.WebActivityAuthentication

public final class WebActivityAuthentication extends Object
Web activity authentication properties.
  • Constructor Details

    • WebActivityAuthentication

      public WebActivityAuthentication()
  • Method Details

    • 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

      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.