Class RegenerateAccessKeyParameters

java.lang.Object
com.microsoft.azure.management.eventhub.RegenerateAccessKeyParameters

public class RegenerateAccessKeyParameters extends Object
Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.
  • Constructor Details

    • RegenerateAccessKeyParameters

      public RegenerateAccessKeyParameters()
  • Method Details

    • keyType

      public KeyType keyType()
      Get the access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'.
      Returns:
      the keyType value
    • withKeyType

      public RegenerateAccessKeyParameters withKeyType(KeyType keyType)
      Set the access key to regenerate. Possible values include: 'PrimaryKey', 'SecondaryKey'.
      Parameters:
      keyType - the keyType value to set
      Returns:
      the RegenerateAccessKeyParameters object itself.
    • key

      public String key()
      Get optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.
      Returns:
      the key value
    • withKey

      public RegenerateAccessKeyParameters withKey(String key)
      Set optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.
      Parameters:
      key - the key value to set
      Returns:
      the RegenerateAccessKeyParameters object itself.