Class CredentialSetUpdateProperties

java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.CredentialSetUpdateProperties

public final class CredentialSetUpdateProperties extends Object
The parameters for updating credential set properties.
  • 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:
      the authCredentials value.
    • 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:
      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.