Interface RedisCache.DefinitionStages.WithCreate

    • Method Detail

      • withRedisConfiguration

        RedisCache.DefinitionStages.WithCreate withRedisConfiguration​(Map<String,​String> redisConfiguration)
        All Redis Settings. Few possible keys: rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.
        Parameters:
        redisConfiguration - configuration of Redis Cache as a map indexed by configuration name
        Returns:
        the next stage of Redis Cache definition.
      • withRedisConfiguration

        RedisCache.DefinitionStages.WithCreate withRedisConfiguration​(String key,
                                                                      String value)
        Specifies Redis Setting. rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.
        Parameters:
        key - Redis configuration name.
        value - Redis configuration value.
        Returns:
        the next stage of Redis Cache definition.
      • withFirewallRule

        RedisCache.DefinitionStages.WithCreate withFirewallRule​(String name,
                                                                String lowestIp,
                                                                String highestIp)
        Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
        Parameters:
        name - name of the rule.
        lowestIp - lowest IP address included in the range.
        highestIp - highest IP address included in the range.
        Returns:
        the next stage of Redis Cache definition.
      • withFirewallRule

        RedisCache.DefinitionStages.WithCreate withFirewallRule​(RedisFirewallRule rule)
        Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
        Parameters:
        rule - firewall rule that specifies name, lowest and highest IP address included in the range of permitted IP addresses.
        Returns:
        the next stage of Redis Cache definition.
      • withMinimumTlsVersion

        RedisCache.DefinitionStages.WithCreate withMinimumTlsVersion​(TlsVersion tlsVersion)
        Requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').
        Parameters:
        tlsVersion - minimum TLS version.
        Returns:
        the next stage of Redis Cache definition.
      • withPatchSchedule

        RedisCache.DefinitionStages.WithCreate withPatchSchedule​(DayOfWeek dayOfWeek,
                                                                 int startHourUtc)
        Patch schedule on a Premium Cluster Cache.
        Parameters:
        dayOfWeek - day of week when cache can be patched.
        startHourUtc - start hour after which cache patching can start.
        Returns:
        the next stage of Redis Cache with Premium SKU definition.
      • withPatchSchedule

        RedisCache.DefinitionStages.WithCreate withPatchSchedule​(DayOfWeek dayOfWeek,
                                                                 int startHourUtc,
                                                                 Duration maintenanceWindow)
        Patch schedule on a Premium Cluster Cache.
        Parameters:
        dayOfWeek - day of week when cache can be patched.
        startHourUtc - start hour after which cache patching can start.
        maintenanceWindow - ISO8601 timespan specifying how much time cache patching can take.
        Returns:
        the next stage of Redis Cache with Premium SKU definition.
      • withPatchSchedule

        RedisCache.DefinitionStages.WithCreate withPatchSchedule​(ScheduleEntry scheduleEntry)
        Patch schedule on a Premium Cluster Cache.
        Parameters:
        scheduleEntry - Patch schedule entry for Premium Redis Cache.
        Returns:
        the next stage of Redis Cache with Premium SKU definition.
      • withPatchSchedule

        RedisCache.DefinitionStages.WithCreate withPatchSchedule​(List<ScheduleEntry> scheduleEntry)
        Patch schedule on a Premium Cluster Cache.
        Parameters:
        scheduleEntry - List of patch schedule entries for Premium Redis Cache.
        Returns:
        the next stage of Redis Cache with Premium SKU definition.