RegenerateCredentialParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. RegenerateCredentialParameters
- com.
Implements
public final class RegenerateCredentialParameters
implements JsonSerializable<RegenerateCredentialParameters>
The parameters used to regenerate the login credential.
Constructor Summary
| Constructor | Description |
|---|---|
| RegenerateCredentialParameters() |
Creates an instance of Regenerate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Regenerate |
fromJson(JsonReader jsonReader)
Reads an instance of Regenerate |
|
Password |
name()
Get the name property: Specifies name of the password which should be regenerated -- password or password2. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Regenerate |
withName(PasswordName name)
Set the name property: Specifies name of the password which should be regenerated -- password or password2. |
Methods inherited from java.lang.Object
Constructor Details
RegenerateCredentialParameters
public RegenerateCredentialParameters()
Creates an instance of RegenerateCredentialParameters class.
Method Details
fromJson
public static RegenerateCredentialParameters fromJson(JsonReader jsonReader)
Reads an instance of RegenerateCredentialParameters from the JsonReader.
Parameters:
Returns:
Throws:
name
public PasswordName name()
Get the name property: Specifies name of the password which should be regenerated -- password or password2.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public RegenerateCredentialParameters withName(PasswordName name)
Set the name property: Specifies name of the password which should be regenerated -- password or password2.
Parameters:
Returns: