RegistryListCredentialsResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. RegistryListCredentialsResultInner
- com.
Implements
public final class RegistryListCredentialsResultInner
implements JsonSerializable<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 |
---|---|
static
Registry |
fromJson(JsonReader jsonReader)
Reads an instance of Registry |
List<Registry |
passwords()
Get the passwords property: The list of passwords for a container registry. |
Json |
toJson(JsonWriter jsonWriter) |
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
fromJson
public static RegistryListCredentialsResultInner fromJson(JsonReader jsonReader)
Reads an instance of RegistryListCredentialsResultInner from the JsonReader.
Parameters:
Returns:
Throws:
passwords
public List
Get the passwords property: The list of passwords for a container registry.
Returns:
toJson
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