Class CredentialSetUpdateParameters
java.lang.Object
com.azure.resourcemanager.containerregistry.models.CredentialSetUpdateParameters
The parameters for updating a credential set.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CredentialSetUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authCredentials property: List of authentication credentials stored for an upstream.identity()Get the identity property: Identities associated with the resource.voidvalidate()Validates the instance.withAuthCredentials(List<AuthCredential> authCredentials) Set the authCredentials property: List of authentication credentials stored for an upstream.withIdentity(IdentityProperties identity) Set the identity property: Identities associated with the resource.
-
Constructor Details
-
CredentialSetUpdateParameters
public CredentialSetUpdateParameters()Creates an instance of CredentialSetUpdateParameters class.
-
-
Method Details
-
identity
Get the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.- Parameters:
identity- the identity value to set.- Returns:
- the CredentialSetUpdateParameters object itself.
-
authCredentials
Get the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.- Returns:
- the authCredentials value.
-
withAuthCredentials
Set the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.- Parameters:
authCredentials- the authCredentials value to set.- Returns:
- the CredentialSetUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-