Class JsonSchemaValkey

java.lang.Object
com.exoscale.sdk.model.JsonSchemaValkey

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

  • Constructor Details

    • JsonSchemaValkey

      public JsonSchemaValkey()
  • Method Details

    • ssl

      public JsonSchemaValkey ssl(Boolean ssl)
    • getSsl

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

      public void setSsl(Boolean ssl)
    • lfuLogFactor

      public JsonSchemaValkey lfuLogFactor(Integer lfuLogFactor)
    • getLfuLogFactor

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

      public void setLfuLogFactor(Integer lfuLogFactor)
    • maxmemoryPolicy

      public JsonSchemaValkey maxmemoryPolicy(JsonSchemaValkey.MaxmemoryPolicyEnum maxmemoryPolicy)
    • getMaxmemoryPolicy

      @Nullable public JsonSchemaValkey.MaxmemoryPolicyEnum getMaxmemoryPolicy()
      Get maxmemoryPolicy
      Returns:
      maxmemoryPolicy
    • getMaxmemoryPolicy_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<JsonSchemaValkey.MaxmemoryPolicyEnum> getMaxmemoryPolicy_JsonNullable()
    • setMaxmemoryPolicy_JsonNullable

      public void setMaxmemoryPolicy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<JsonSchemaValkey.MaxmemoryPolicyEnum> maxmemoryPolicy)
    • setMaxmemoryPolicy

      public void setMaxmemoryPolicy(JsonSchemaValkey.MaxmemoryPolicyEnum maxmemoryPolicy)
    • ioThreads

      public JsonSchemaValkey ioThreads(Integer ioThreads)
    • getIoThreads

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

      public void setIoThreads(Integer ioThreads)
    • lfuDecayTime

      public JsonSchemaValkey lfuDecayTime(Integer lfuDecayTime)
    • getLfuDecayTime

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

      public void setLfuDecayTime(Integer lfuDecayTime)
    • pubsubClientOutputBufferLimit

      public JsonSchemaValkey 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)
    • notifyKeyspaceEvents

      public JsonSchemaValkey notifyKeyspaceEvents(String notifyKeyspaceEvents)
    • getNotifyKeyspaceEvents

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

      public void setNotifyKeyspaceEvents(String notifyKeyspaceEvents)
    • persistence

      public JsonSchemaValkey persistence(JsonSchemaValkey.PersistenceEnum persistence)
    • getPersistence

      @Nullable public JsonSchemaValkey.PersistenceEnum getPersistence()
      When persistence is 'rdb', Valkey 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
    • setPersistence

      public void setPersistence(JsonSchemaValkey.PersistenceEnum persistence)
    • timeout

      public JsonSchemaValkey timeout(Integer timeout)
    • getTimeout

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

      public void setTimeout(Integer timeout)
    • aclChannelsDefault

      public JsonSchemaValkey aclChannelsDefault(JsonSchemaValkey.AclChannelsDefaultEnum aclChannelsDefault)
    • getAclChannelsDefault

      @Nullable public JsonSchemaValkey.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 Valkey configuration acl-pubsub-default.
      Returns:
      aclChannelsDefault
    • setAclChannelsDefault

      public void setAclChannelsDefault(JsonSchemaValkey.AclChannelsDefaultEnum aclChannelsDefault)
    • numberOfDatabases

      public JsonSchemaValkey numberOfDatabases(Integer numberOfDatabases)
    • getNumberOfDatabases

      @Nullable public Integer getNumberOfDatabases()
      Set number of Valkey databases. Changing this will cause a restart of the Valkey 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-valkey object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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