Class JsonSchemaRedis


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class JsonSchemaRedis
    extends Object
    JsonSchemaRedis
    • Constructor Detail

      • JsonSchemaRedis

        public JsonSchemaRedis()
    • Method Detail

      • getSsl

        @Nullable
        public Boolean getSsl()
        Get ssl
        Returns:
        ssl
      • setSsl

        public void setSsl​(Boolean ssl)
      • getLfuLogFactor

        @Nullable
        public Integer getLfuLogFactor()
        Get lfuLogFactor minimum: 0 maximum: 100
        Returns:
        lfuLogFactor
      • setLfuLogFactor

        public void setLfuLogFactor​(Integer lfuLogFactor)
      • setMaxmemoryPolicy_JsonNullable

        public void setMaxmemoryPolicy_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<JsonSchemaRedis.MaxmemoryPolicyEnum> maxmemoryPolicy)
      • getIoThreads

        @Nullable
        public Integer getIoThreads()
        Set Redis IO thread count. Changing this will cause a restart of the Redis service. minimum: 1 maximum: 32
        Returns:
        ioThreads
      • setIoThreads

        public void setIoThreads​(Integer ioThreads)
      • getLfuDecayTime

        @Nullable
        public Integer getLfuDecayTime()
        Get lfuDecayTime minimum: 1 maximum: 120
        Returns:
        lfuDecayTime
      • setLfuDecayTime

        public void setLfuDecayTime​(Integer lfuDecayTime)
      • pubsubClientOutputBufferLimit

        public JsonSchemaRedis pubsubClientOutputBufferLimit​(Integer pubsubClientOutputBufferLimit)
      • getPubsubClientOutputBufferLimit

        @Nullable
        public Integer getPubsubClientOutputBufferLimit()
        Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. minimum: 32 maximum: 512
        Returns:
        pubsubClientOutputBufferLimit
      • setPubsubClientOutputBufferLimit

        public void setPubsubClientOutputBufferLimit​(Integer pubsubClientOutputBufferLimit)
      • getNotifyKeyspaceEvents

        @Nullable
        public String getNotifyKeyspaceEvents()
        Get notifyKeyspaceEvents
        Returns:
        notifyKeyspaceEvents
      • setNotifyKeyspaceEvents

        public void setNotifyKeyspaceEvents​(String notifyKeyspaceEvents)
      • getPersistence

        @Nullable
        public JsonSchemaRedis.PersistenceEnum getPersistence()
        When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
        Returns:
        persistence
      • getTimeout

        @Nullable
        public Integer getTimeout()
        Get timeout minimum: 0 maximum: 31536000
        Returns:
        timeout
      • setTimeout

        public void setTimeout​(Integer timeout)
      • getAclChannelsDefault

        @Nullable
        public JsonSchemaRedis.AclChannelsDefaultEnum getAclChannelsDefault()
        Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
        Returns:
        aclChannelsDefault
      • getNumberOfDatabases

        @Nullable
        public Integer getNumberOfDatabases()
        Set number of Redis databases. Changing this will cause a restart of the Redis service. minimum: 1 maximum: 128
        Returns:
        numberOfDatabases
      • setNumberOfDatabases

        public void setNumberOfDatabases​(Integer numberOfDatabases)
      • equals

        public boolean equals​(Object o)
        Return true if this json-schema-redis object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string