Class ContainerRegistry
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.ContainerRegistry
-
public class ContainerRegistry extends Object
A private container registry.
-
-
Constructor Summary
Constructors Constructor Description ContainerRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeNodeIdentityReference
identityReference()
Get the identityReference value.String
password()
Get the password value.String
registryServer()
Get if omitted, the default is "docker.io".String
userName()
Get the userName value.ContainerRegistry
withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identityReference value.ContainerRegistry
withPassword(String password)
Set the password value.ContainerRegistry
withRegistryServer(String registryServer)
Set if omitted, the default is "docker.io".ContainerRegistry
withUserName(String userName)
Set the userName value.
-
-
-
Method Detail
-
userName
public String userName()
Get the userName value.- Returns:
- the userName value
-
withUserName
public ContainerRegistry withUserName(String userName)
Set the userName value.- Parameters:
userName
- the userName value to set- Returns:
- the ContainerRegistry object itself.
-
password
public String password()
Get the password value.- Returns:
- the password value
-
withPassword
public ContainerRegistry withPassword(String password)
Set the password value.- Parameters:
password
- the password value to set- Returns:
- the ContainerRegistry object itself.
-
registryServer
public String registryServer()
Get if omitted, the default is "docker.io".- Returns:
- the registryServer value
-
withRegistryServer
public ContainerRegistry withRegistryServer(String registryServer)
Set if omitted, the default is "docker.io".- Parameters:
registryServer
- the registryServer value to set- Returns:
- the ContainerRegistry object itself.
-
identityReference
public ComputeNodeIdentityReference identityReference()
Get the identityReference value.- Returns:
- the identityReference value
-
withIdentityReference
public ContainerRegistry withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identityReference value.- Parameters:
identityReference
- the identityReference value to set- Returns:
- the ContainerRegistry object itself.
-
-