Class RedisRegenerateKeyParameters


  • public final class RedisRegenerateKeyParameters
    extends Object
    Specifies which Redis access keys to reset.
    • Constructor Detail

      • RedisRegenerateKeyParameters

        public RedisRegenerateKeyParameters()
    • Method Detail

      • keyType

        public RedisKeyType keyType()
        Get the keyType property: The Redis access key to regenerate.
        Returns:
        the keyType value.
      • withKeyType

        public RedisRegenerateKeyParameters withKeyType​(RedisKeyType keyType)
        Set the keyType property: The Redis access key to regenerate.
        Parameters:
        keyType - the keyType value to set.
        Returns:
        the RedisRegenerateKeyParameters object itself.
      • validate

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