ContainerRegistry Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ContainerRegistry
- com.
public class ContainerRegistry
A private container registry.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
password()
Get the password value. |
String |
registryServer()
Get if omitted, the default is "docker.io". |
String |
userName()
Get the userName value. |
Container |
withPassword(String password)
Set the password value. |
Container |
withRegistryServer(String registryServer)
Set if omitted, the default is "docker.io". |
Container |
withUserName(String userName)
Set the userName value. |
Method Details
password
public String password()
Get the password value.
Returns:
registryServer
public String registryServer()
Get if omitted, the default is "docker.io".
Returns:
userName
public String userName()
Get the userName value.
Returns:
withPassword
public ContainerRegistry withPassword(String password)
Set the password value.
Parameters:
Returns:
withRegistryServer
public ContainerRegistry withRegistryServer(String registryServer)
Set if omitted, the default is "docker.io".
Parameters:
Returns:
withUserName
public ContainerRegistry withUserName(String userName)
Set the userName value.
Parameters:
Returns:
Applies to
Azure SDK for Java