Class RegistryCredentials

java.lang.Object
com.azure.resourcemanager.appservice.models.RegistryCredentials

public final class RegistryCredentials extends Object
Container App Private Registry.
  • Constructor Details

    • RegistryCredentials

      public RegistryCredentials()
  • Method Details

    • server

      public String server()
      Get the server property: Container Registry Server.
      Returns:
      the server value.
    • withServer

      public RegistryCredentials withServer(String server)
      Set the server property: Container Registry Server.
      Parameters:
      server - the server value to set.
      Returns:
      the RegistryCredentials object itself.
    • username

      public String username()
      Get the username property: Container Registry Username.
      Returns:
      the username value.
    • withUsername

      public RegistryCredentials withUsername(String username)
      Set the username property: Container Registry Username.
      Parameters:
      username - the username value to set.
      Returns:
      the RegistryCredentials object itself.
    • passwordSecretRef

      public String passwordSecretRef()
      Get the passwordSecretRef property: The name of the Secret that contains the registry login password.
      Returns:
      the passwordSecretRef value.
    • withPasswordSecretRef

      public RegistryCredentials withPasswordSecretRef(String passwordSecretRef)
      Set the passwordSecretRef property: The name of the Secret that contains the registry login password.
      Parameters:
      passwordSecretRef - the passwordSecretRef value to set.
      Returns:
      the RegistryCredentials object itself.
    • validate

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