RegistryListCredentialsResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. RegistryListCredentialsResultInner
- com.
public final class RegistryListCredentialsResultInner
The response from the ListCredentials operation.
Constructor Summary
Constructor | Description |
---|---|
RegistryListCredentialsResultInner() |
Creates an instance of Registry |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Registry |
passwords()
Get the passwords property: The list of passwords for a container registry. |
String |
username()
Get the username property: The username for a container registry. |
void |
validate()
Validates the instance. |
Registry |
withPasswords(List<RegistryPassword> passwords)
Set the passwords property: The list of passwords for a container registry. |
Registry |
withUsername(String username)
Set the username property: The username for a container registry. |
Methods inherited from java.lang.Object
Constructor Details
RegistryListCredentialsResultInner
public RegistryListCredentialsResultInner()
Creates an instance of RegistryListCredentialsResultInner class.
Method Details
passwords
public List
Get the passwords property: The list of passwords for a container registry.
Returns:
username
public String username()
Get the username property: The username for a container registry.
Returns:
validate
public void validate()
Validates the instance.
withPasswords
public RegistryListCredentialsResultInner withPasswords(List
Set the passwords property: The list of passwords for a container registry.
Parameters:
Returns:
withUsername
public RegistryListCredentialsResultInner withUsername(String username)
Set the username property: The username for a container registry.
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