RegistryPassword Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. RegistryPassword
- com.
public final class RegistryPassword
The login password for the container registry.
Constructor Summary
Constructor | Description |
---|---|
RegistryPassword() |
Creates an instance of Registry |
Method Summary
Modifier and Type | Method and Description |
---|---|
Password |
name()
Get the name property: The password name. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The password value. |
Registry |
withName(PasswordName name)
Set the name property: The password name. |
Registry |
withValue(String value)
Set the value property: The password value. |
Methods inherited from java.lang.Object
Constructor Details
RegistryPassword
public RegistryPassword()
Creates an instance of RegistryPassword class.
Method Details
name
public PasswordName name()
Get the name property: The password name.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The password value.
Returns:
withName
public RegistryPassword withName(PasswordName name)
Set the name property: The password name.
Parameters:
Returns:
withValue
public RegistryPassword withValue(String value)
Set the value property: The password value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for