Class RegistryCredentials
java.lang.Object
com.azure.resourcemanager.appservice.models.RegistryCredentials
Container App Private Registry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the passwordSecretRef property: The name of the Secret that contains the registry login password.server()
Get the server property: Container Registry Server.username()
Get the username property: Container Registry Username.void
validate()
Validates the instance.withPasswordSecretRef
(String passwordSecretRef) Set the passwordSecretRef property: The name of the Secret that contains the registry login password.withServer
(String server) Set the server property: Container Registry Server.withUsername
(String username) Set the username property: Container Registry Username.
-
Constructor Details
-
RegistryCredentials
public RegistryCredentials()
-
-
Method Details
-
server
Get the server property: Container Registry Server.- Returns:
- the server value.
-
withServer
Set the server property: Container Registry Server.- Parameters:
server
- the server value to set.- Returns:
- the RegistryCredentials object itself.
-
username
Get the username property: Container Registry Username.- Returns:
- the username value.
-
withUsername
Set the username property: Container Registry Username.- Parameters:
username
- the username value to set.- Returns:
- the RegistryCredentials object itself.
-
passwordSecretRef
Get the passwordSecretRef property: The name of the Secret that contains the registry login password.- Returns:
- the passwordSecretRef value.
-
withPasswordSecretRef
Set the passwordSecretRef property: The name of the Secret that contains the registry login password.- Parameters:
passwordSecretRef
- the passwordSecretRef value to set.- Returns:
- the RegistryCredentials object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-