Class ImageRegistryCredential

java.lang.Object
com.microsoft.azure.management.containerinstance.ImageRegistryCredential

public class ImageRegistryCredential extends Object
Image registry credential.
  • Constructor Details

    • ImageRegistryCredential

      public ImageRegistryCredential()
  • Method Details

    • server

      public String server()
      Get the Docker image registry server without a protocol such as "http" and "https".
      Returns:
      the server value
    • withServer

      public ImageRegistryCredential withServer(String server)
      Set the Docker image registry server without a protocol such as "http" and "https".
      Parameters:
      server - the server value to set
      Returns:
      the ImageRegistryCredential object itself.
    • username

      public String username()
      Get the username for the private registry.
      Returns:
      the username value
    • withUsername

      public ImageRegistryCredential withUsername(String username)
      Set the username for the private registry.
      Parameters:
      username - the username value to set
      Returns:
      the ImageRegistryCredential object itself.
    • password

      public String password()
      Get the password for the private registry.
      Returns:
      the password value
    • withPassword

      public ImageRegistryCredential withPassword(String password)
      Set the password for the private registry.
      Parameters:
      password - the password value to set
      Returns:
      the ImageRegistryCredential object itself.