java.lang.Object
com.azure.resourcemanager.appcontainers.models.RegistryInfo

public final class RegistryInfo extends Object
Container App registry information.
  • Constructor Details

    • RegistryInfo

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

    • registryUrl

      public String registryUrl()
      Get the registryUrl property: registry server Url.
      Returns:
      the registryUrl value.
    • withRegistryUrl

      public RegistryInfo withRegistryUrl(String registryUrl)
      Set the registryUrl property: registry server Url.
      Parameters:
      registryUrl - the registryUrl value to set.
      Returns:
      the RegistryInfo object itself.
    • registryUsername

      public String registryUsername()
      Get the registryUsername property: registry username.
      Returns:
      the registryUsername value.
    • withRegistryUsername

      public RegistryInfo withRegistryUsername(String registryUsername)
      Set the registryUsername property: registry username.
      Parameters:
      registryUsername - the registryUsername value to set.
      Returns:
      the RegistryInfo object itself.
    • registryPassword

      public String registryPassword()
      Get the registryPassword property: registry secret.
      Returns:
      the registryPassword value.
    • withRegistryPassword

      public RegistryInfo withRegistryPassword(String registryPassword)
      Set the registryPassword property: registry secret.
      Parameters:
      registryPassword - the registryPassword value to set.
      Returns:
      the RegistryInfo object itself.
    • validate

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