CredentialSetUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. CredentialSetUpdateProperties
- com.
Implements
public final class CredentialSetUpdateProperties
implements JsonSerializable<CredentialSetUpdateProperties>
The parameters for updating credential set properties.
Constructor Summary
| Constructor | Description |
|---|---|
| CredentialSetUpdateProperties() |
Creates an instance of Credential |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Auth |
authCredentials()
Get the auth |
|
static
Credential |
fromJson(JsonReader jsonReader)
Reads an instance of Credential |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Credential |
withAuthCredentials(List<AuthCredential> authCredentials)
Set the auth |
Methods inherited from java.lang.Object
Constructor Details
CredentialSetUpdateProperties
public CredentialSetUpdateProperties()
Creates an instance of CredentialSetUpdateProperties class.
Method Details
authCredentials
public List<AuthCredential> authCredentials()
Get the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Returns:
fromJson
public static CredentialSetUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of CredentialSetUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAuthCredentials
public CredentialSetUpdateProperties withAuthCredentials(List<AuthCredential> authCredentials)
Set the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Parameters:
Returns: