Class AcceleratorBasicAuthSetting

java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorAuthSetting
com.azure.resourcemanager.appplatform.models.AcceleratorBasicAuthSetting

public final class AcceleratorBasicAuthSetting extends AcceleratorAuthSetting
Auth setting for basic auth.
  • Constructor Details

    • AcceleratorBasicAuthSetting

      public AcceleratorBasicAuthSetting()
      Creates an instance of AcceleratorBasicAuthSetting class.
  • Method Details

    • caCertResourceId

      public String caCertResourceId()
      Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
      Returns:
      the caCertResourceId value.
    • withCaCertResourceId

      public AcceleratorBasicAuthSetting withCaCertResourceId(String caCertResourceId)
      Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
      Parameters:
      caCertResourceId - the caCertResourceId value to set.
      Returns:
      the AcceleratorBasicAuthSetting object itself.
    • username

      public String username()
      Get the username property: Username of git repository basic auth.
      Returns:
      the username value.
    • withUsername

      public AcceleratorBasicAuthSetting withUsername(String username)
      Set the username property: Username of git repository basic auth.
      Parameters:
      username - the username value to set.
      Returns:
      the AcceleratorBasicAuthSetting object itself.
    • password

      public String password()
      Get the password property: Password of git repository basic auth.
      Returns:
      the password value.
    • withPassword

      public AcceleratorBasicAuthSetting withPassword(String password)
      Set the password property: Password of git repository basic auth.
      Parameters:
      password - the password value to set.
      Returns:
      the AcceleratorBasicAuthSetting object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AcceleratorAuthSetting
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.