Class BatchAccountRegenerateKeyParameters

java.lang.Object
com.azure.resourcemanager.batch.models.BatchAccountRegenerateKeyParameters

public final class BatchAccountRegenerateKeyParameters extends Object
Parameters supplied to the RegenerateKey operation.
  • Constructor Details

    • BatchAccountRegenerateKeyParameters

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

    • keyName

      public AccountKeyType keyName()
      Get the keyName property: The type of account key to regenerate.
      Returns:
      the keyName value.
    • withKeyName

      Set the keyName property: The type of account key to regenerate.
      Parameters:
      keyName - the keyName value to set.
      Returns:
      the BatchAccountRegenerateKeyParameters object itself.
    • validate

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