Package com.exoscale.sdk.model
Class JsonSchemaRedis
- java.lang.Object
-
- com.exoscale.sdk.model.JsonSchemaRedis
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class JsonSchemaRedis extends Object
JsonSchemaRedis
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonSchemaRedis.AclChannelsDefaultEnum
Determines default pub/sub channels' ACL for new users if ACL is not supplied.static class
JsonSchemaRedis.MaxmemoryPolicyEnum
Gets or Sets maxmemoryPolicystatic class
JsonSchemaRedis.PersistenceEnum
When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed.
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ACL_CHANNELS_DEFAULT
static String
JSON_PROPERTY_IO_THREADS
static String
JSON_PROPERTY_LFU_DECAY_TIME
static String
JSON_PROPERTY_LFU_LOG_FACTOR
static String
JSON_PROPERTY_MAXMEMORY_POLICY
static String
JSON_PROPERTY_NOTIFY_KEYSPACE_EVENTS
static String
JSON_PROPERTY_NUMBER_OF_DATABASES
static String
JSON_PROPERTY_PERSISTENCE
static String
JSON_PROPERTY_PUBSUB_CLIENT_OUTPUT_BUFFER_LIMIT
static String
JSON_PROPERTY_SSL
static String
JSON_PROPERTY_TIMEOUT
-
Constructor Summary
Constructors Constructor Description JsonSchemaRedis()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_SSL
public static final String JSON_PROPERTY_SSL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LFU_LOG_FACTOR
public static final String JSON_PROPERTY_LFU_LOG_FACTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAXMEMORY_POLICY
public static final String JSON_PROPERTY_MAXMEMORY_POLICY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IO_THREADS
public static final String JSON_PROPERTY_IO_THREADS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LFU_DECAY_TIME
public static final String JSON_PROPERTY_LFU_DECAY_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PUBSUB_CLIENT_OUTPUT_BUFFER_LIMIT
public static final String JSON_PROPERTY_PUBSUB_CLIENT_OUTPUT_BUFFER_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFY_KEYSPACE_EVENTS
public static final String JSON_PROPERTY_NOTIFY_KEYSPACE_EVENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERSISTENCE
public static final String JSON_PROPERTY_PERSISTENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACL_CHANNELS_DEFAULT
public static final String JSON_PROPERTY_ACL_CHANNELS_DEFAULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NUMBER_OF_DATABASES
public static final String JSON_PROPERTY_NUMBER_OF_DATABASES
- See Also:
- Constant Field Values
-
-
Method Detail
-
ssl
public JsonSchemaRedis ssl(Boolean ssl)
-
getSsl
@Nullable public Boolean getSsl()
Get ssl- Returns:
- ssl
-
setSsl
public void setSsl(Boolean ssl)
-
lfuLogFactor
public JsonSchemaRedis lfuLogFactor(Integer lfuLogFactor)
-
getLfuLogFactor
@Nullable public Integer getLfuLogFactor()
Get lfuLogFactor minimum: 0 maximum: 100- Returns:
- lfuLogFactor
-
setLfuLogFactor
public void setLfuLogFactor(Integer lfuLogFactor)
-
maxmemoryPolicy
public JsonSchemaRedis maxmemoryPolicy(JsonSchemaRedis.MaxmemoryPolicyEnum maxmemoryPolicy)
-
getMaxmemoryPolicy
@Nullable public JsonSchemaRedis.MaxmemoryPolicyEnum getMaxmemoryPolicy()
Get maxmemoryPolicy- Returns:
- maxmemoryPolicy
-
getMaxmemoryPolicy_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<JsonSchemaRedis.MaxmemoryPolicyEnum> getMaxmemoryPolicy_JsonNullable()
-
setMaxmemoryPolicy_JsonNullable
public void setMaxmemoryPolicy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<JsonSchemaRedis.MaxmemoryPolicyEnum> maxmemoryPolicy)
-
setMaxmemoryPolicy
public void setMaxmemoryPolicy(JsonSchemaRedis.MaxmemoryPolicyEnum maxmemoryPolicy)
-
ioThreads
public JsonSchemaRedis ioThreads(Integer ioThreads)
-
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)
-
lfuDecayTime
public JsonSchemaRedis lfuDecayTime(Integer lfuDecayTime)
-
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)
-
notifyKeyspaceEvents
public JsonSchemaRedis notifyKeyspaceEvents(String notifyKeyspaceEvents)
-
getNotifyKeyspaceEvents
@Nullable public String getNotifyKeyspaceEvents()
Get notifyKeyspaceEvents- Returns:
- notifyKeyspaceEvents
-
setNotifyKeyspaceEvents
public void setNotifyKeyspaceEvents(String notifyKeyspaceEvents)
-
persistence
public JsonSchemaRedis persistence(JsonSchemaRedis.PersistenceEnum persistence)
-
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
-
setPersistence
public void setPersistence(JsonSchemaRedis.PersistenceEnum persistence)
-
timeout
public JsonSchemaRedis timeout(Integer timeout)
-
getTimeout
@Nullable public Integer getTimeout()
Get timeout minimum: 0 maximum: 31536000- Returns:
- timeout
-
setTimeout
public void setTimeout(Integer timeout)
-
aclChannelsDefault
public JsonSchemaRedis aclChannelsDefault(JsonSchemaRedis.AclChannelsDefaultEnum aclChannelsDefault)
-
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
-
setAclChannelsDefault
public void setAclChannelsDefault(JsonSchemaRedis.AclChannelsDefaultEnum aclChannelsDefault)
-
numberOfDatabases
public JsonSchemaRedis numberOfDatabases(Integer numberOfDatabases)
-
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.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-