Class RegenerateKeyParameters

java.lang.Object
com.azure.resourcemanager.communication.models.RegenerateKeyParameters

public final class RegenerateKeyParameters extends Object
Parameters describes the request to regenerate access keys.
  • Constructor Details

    • RegenerateKeyParameters

      public RegenerateKeyParameters()
  • Method Details

    • keyType

      public KeyType keyType()
      Get the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).
      Returns:
      the keyType value.
    • withKeyType

      public RegenerateKeyParameters withKeyType(KeyType keyType)
      Set the keyType property: The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).
      Parameters:
      keyType - the keyType value to set.
      Returns:
      the RegenerateKeyParameters object itself.
    • validate

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