Class CredentialSetUpdateParameters

java.lang.Object
com.azure.resourcemanager.containerregistry.models.CredentialSetUpdateParameters

public final class CredentialSetUpdateParameters extends Object
The parameters for updating a credential set.
  • Constructor Details

    • CredentialSetUpdateParameters

      public CredentialSetUpdateParameters()
      Creates an instance of CredentialSetUpdateParameters class.
  • Method Details

    • identity

      public IdentityProperties identity()
      Get the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.
      Returns:
      the identity value.
    • withIdentity

      public CredentialSetUpdateParameters withIdentity(IdentityProperties identity)
      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

      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 CredentialSetUpdateParameters 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 CredentialSetUpdateParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.