Class RegenerateKeyParameters

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

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

    • RegenerateKeyParameters

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

    • keyType

      public KeyType keyType()
      Get the keyType property: The type of access key.
      Returns:
      the keyType value.
    • withKeyType

      public RegenerateKeyParameters withKeyType(KeyType keyType)
      Set the keyType property: The type of access key.
      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.