Class CredentialSetUpdateProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.CredentialSetUpdateProperties
The parameters for updating credential set properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CredentialSetUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authCredentials property: List of authentication credentials stored for an upstream.voidvalidate()Validates the instance.withAuthCredentials(List<AuthCredential> authCredentials) Set the authCredentials property: List of authentication credentials stored for an upstream.
-
Constructor Details
-
CredentialSetUpdateProperties
public CredentialSetUpdateProperties()Creates an instance of CredentialSetUpdateProperties class.
-
-
Method Details
-
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 CredentialSetUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-