ContainerRegistry Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.ContainerRegistry

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.

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 Details

password

public String password()

Get the password value.

Returns:

the password value

registryServer

public String registryServer()

Get if omitted, the default is "docker.io".

Returns:

the registryServer value

userName

public String userName()

Get the userName value.

Returns:

the userName value

withPassword

public ContainerRegistry withPassword(String password)

Set the password value.

Parameters:

password - the password value to set

Returns:

the ContainerRegistry object itself.

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.

withUserName

public ContainerRegistry withUserName(String userName)

Set the userName value.

Parameters:

userName - the userName value to set

Returns:

the ContainerRegistry object itself.

Applies to