Package com.exoscale.sdk.model
Class DbaasServiceRedis
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasServiceRedis
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasServiceRedis extends Object
DbaasServiceRedis
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DbaasServiceRedis()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_COUNT
public static final String JSON_PROPERTY_NODE_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONNECTION_INFO
public static final String JSON_PROPERTY_CONNECTION_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_CPU_COUNT
public static final String JSON_PROPERTY_NODE_CPU_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATIONS
public static final String JSON_PROPERTY_INTEGRATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ZONE
public static final String JSON_PROPERTY_ZONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_STATES
public static final String JSON_PROPERTY_NODE_STATES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIS_SETTINGS
public static final String JSON_PROPERTY_REDIS_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP_FILTER
public static final String JSON_PROPERTY_IP_FILTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BACKUPS
public static final String JSON_PROPERTY_BACKUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINATION_PROTECTION
public static final String JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFICATIONS
public static final String JSON_PROPERTY_NOTIFICATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPONENTS
public static final String JSON_PROPERTY_COMPONENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAINTENANCE
public static final String JSON_PROPERTY_MAINTENANCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_SIZE
public static final String JSON_PROPERTY_DISK_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_MEMORY
public static final String JSON_PROPERTY_NODE_MEMORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI_PARAMS
public static final String JSON_PROPERTY_URI_PARAMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PLAN
public static final String JSON_PROPERTY_PLAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USERS
public static final String JSON_PROPERTY_USERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
updatedAt
public DbaasServiceRedis updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Service last update timestamp (ISO 8601)- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
nodeCount
public DbaasServiceRedis nodeCount(Long nodeCount)
-
getNodeCount
@Nullable public Long getNodeCount()
Number of service nodes in the active plan minimum: 0- Returns:
- nodeCount
-
setNodeCount
public void setNodeCount(Long nodeCount)
-
connectionInfo
public DbaasServiceRedis connectionInfo(DbaasServiceRedisConnectionInfo connectionInfo)
-
getConnectionInfo
@Nullable public DbaasServiceRedisConnectionInfo getConnectionInfo()
Get connectionInfo- Returns:
- connectionInfo
-
setConnectionInfo
public void setConnectionInfo(DbaasServiceRedisConnectionInfo connectionInfo)
-
nodeCpuCount
public DbaasServiceRedis nodeCpuCount(Long nodeCpuCount)
-
getNodeCpuCount
@Nullable public Long getNodeCpuCount()
Number of CPUs for each node minimum: 0- Returns:
- nodeCpuCount
-
setNodeCpuCount
public void setNodeCpuCount(Long nodeCpuCount)
-
integrations
public DbaasServiceRedis integrations(List<DbaasIntegration> integrations)
-
addIntegrationsItem
public DbaasServiceRedis addIntegrationsItem(DbaasIntegration integrationsItem)
-
getIntegrations
@Nullable public List<DbaasIntegration> getIntegrations()
Service integrations- Returns:
- integrations
-
setIntegrations
public void setIntegrations(List<DbaasIntegration> integrations)
-
zone
public DbaasServiceRedis zone(String zone)
-
getZone
@Nullable public String getZone()
The zone where the service is running- Returns:
- zone
-
setZone
public void setZone(String zone)
-
nodeStates
public DbaasServiceRedis nodeStates(List<DbaasNodeState> nodeStates)
-
addNodeStatesItem
public DbaasServiceRedis addNodeStatesItem(DbaasNodeState nodeStatesItem)
-
getNodeStates
@Nullable public List<DbaasNodeState> getNodeStates()
State of individual service nodes- Returns:
- nodeStates
-
setNodeStates
public void setNodeStates(List<DbaasNodeState> nodeStates)
-
name
public DbaasServiceRedis name(String name)
-
getName
@Nonnull public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
redisSettings
public DbaasServiceRedis redisSettings(JsonSchemaRedis redisSettings)
-
getRedisSettings
@Nullable public JsonSchemaRedis getRedisSettings()
Get redisSettings- Returns:
- redisSettings
-
setRedisSettings
public void setRedisSettings(JsonSchemaRedis redisSettings)
-
type
public DbaasServiceRedis type(String type)
-
getType
@Nonnull public String getType()
Get type- Returns:
- type
-
setType
public void setType(String type)
-
state
public DbaasServiceRedis state(EnumServiceState state)
-
getState
@Nullable public EnumServiceState getState()
Get state- Returns:
- state
-
setState
public void setState(EnumServiceState state)
-
ipFilter
public DbaasServiceRedis ipFilter(List<String> ipFilter)
-
addIpFilterItem
public DbaasServiceRedis addIpFilterItem(String ipFilterItem)
-
getIpFilter
@Nullable public List<String> getIpFilter()
Allowed CIDR address blocks for incoming connections- Returns:
- ipFilter
-
backups
public DbaasServiceRedis backups(List<DbaasServiceBackup> backups)
-
addBackupsItem
public DbaasServiceRedis addBackupsItem(DbaasServiceBackup backupsItem)
-
getBackups
@Nullable public List<DbaasServiceBackup> getBackups()
List of backups for the service- Returns:
- backups
-
setBackups
public void setBackups(List<DbaasServiceBackup> backups)
-
terminationProtection
public DbaasServiceRedis terminationProtection(Boolean terminationProtection)
-
getTerminationProtection
@Nullable public Boolean getTerminationProtection()
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
public void setTerminationProtection(Boolean terminationProtection)
-
notifications
public DbaasServiceRedis notifications(List<DbaasServiceNotification> notifications)
-
addNotificationsItem
public DbaasServiceRedis addNotificationsItem(DbaasServiceNotification notificationsItem)
-
getNotifications
@Nullable public List<DbaasServiceNotification> getNotifications()
Service notifications- Returns:
- notifications
-
setNotifications
public void setNotifications(List<DbaasServiceNotification> notifications)
-
components
public DbaasServiceRedis components(List<DbaasServiceRedisComponentsInner> components)
-
addComponentsItem
public DbaasServiceRedis addComponentsItem(DbaasServiceRedisComponentsInner componentsItem)
-
getComponents
@Nullable public List<DbaasServiceRedisComponentsInner> getComponents()
Service component information objects- Returns:
- components
-
setComponents
public void setComponents(List<DbaasServiceRedisComponentsInner> components)
-
maintenance
public DbaasServiceRedis maintenance(DbaasServiceMaintenance maintenance)
-
getMaintenance
@Nullable public DbaasServiceMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(DbaasServiceMaintenance maintenance)
-
diskSize
public DbaasServiceRedis diskSize(Long diskSize)
-
getDiskSize
@Nullable public Long getDiskSize()
TODO UNIT disk space for data storage minimum: 0- Returns:
- diskSize
-
setDiskSize
public void setDiskSize(Long diskSize)
-
nodeMemory
public DbaasServiceRedis nodeMemory(Long nodeMemory)
-
getNodeMemory
@Nullable public Long getNodeMemory()
TODO UNIT of memory for each node minimum: 0- Returns:
- nodeMemory
-
setNodeMemory
public void setNodeMemory(Long nodeMemory)
-
uri
public DbaasServiceRedis uri(String uri)
-
getUri
@Nullable public String getUri()
URI for connecting to the service (may be absent)- Returns:
- uri
-
setUri
public void setUri(String uri)
-
uriParams
public DbaasServiceRedis uriParams(Object uriParams)
-
getUriParams
@Nullable public Object getUriParams()
service_uri parameterized into key-value pairs- Returns:
- uriParams
-
setUriParams
public void setUriParams(Object uriParams)
-
version
public DbaasServiceRedis version(String version)
-
getVersion
@Nullable public String getVersion()
Redis version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
createdAt
public DbaasServiceRedis createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Service creation timestamp (ISO 8601)- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
plan
public DbaasServiceRedis plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
users
public DbaasServiceRedis users(List<DbaasServiceRedisUsersInner> users)
-
addUsersItem
public DbaasServiceRedis addUsersItem(DbaasServiceRedisUsersInner usersItem)
-
getUsers
@Nullable public List<DbaasServiceRedisUsersInner> getUsers()
List of service users- Returns:
- users
-
setUsers
public void setUsers(List<DbaasServiceRedisUsersInner> users)
-
equals
public boolean equals(Object o)
Return true if this dbaas-service-redis object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-