Package com.exoscale.sdk.model
Class DbaasServicePg
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasServicePg
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasServicePg extends Object
DbaasServicePg
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DbaasServicePg()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_PGBOUNCER_SETTINGS
public static final String JSON_PROPERTY_PGBOUNCER_SETTINGS
- See Also:
- Constant Field Values
-
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_BACKUP_SCHEDULE
public static final String JSON_PROPERTY_BACKUP_SCHEDULE
- 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_CONNECTION_POOLS
public static final String JSON_PROPERTY_CONNECTION_POOLS
- 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_TIMESCALEDB_SETTINGS
public static final String JSON_PROPERTY_TIMESCALEDB_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATABASES
public static final String JSON_PROPERTY_DATABASES
- 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_SYNCHRONOUS_REPLICATION
public static final String JSON_PROPERTY_SYNCHRONOUS_REPLICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PGLOOKOUT_SETTINGS
public static final String JSON_PROPERTY_PGLOOKOUT_SETTINGS
- 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_WORK_MEM
public static final String JSON_PROPERTY_WORK_MEM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHARED_BUFFERS_PERCENTAGE
public static final String JSON_PROPERTY_SHARED_BUFFERS_PERCENTAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PG_SETTINGS
public static final String JSON_PROPERTY_PG_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_CONNECTIONS
public static final String JSON_PROPERTY_MAX_CONNECTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USERS
public static final String JSON_PROPERTY_USERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
pgbouncerSettings
public DbaasServicePg pgbouncerSettings(JsonSchemaPgbouncer pgbouncerSettings)
-
getPgbouncerSettings
@Nullable public JsonSchemaPgbouncer getPgbouncerSettings()
Get pgbouncerSettings- Returns:
- pgbouncerSettings
-
setPgbouncerSettings
public void setPgbouncerSettings(JsonSchemaPgbouncer pgbouncerSettings)
-
updatedAt
public DbaasServicePg updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Service last update timestamp (ISO 8601)- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
nodeCount
public DbaasServicePg 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 DbaasServicePg connectionInfo(DbaasServicePgConnectionInfo connectionInfo)
-
getConnectionInfo
@Nullable public DbaasServicePgConnectionInfo getConnectionInfo()
Get connectionInfo- Returns:
- connectionInfo
-
setConnectionInfo
public void setConnectionInfo(DbaasServicePgConnectionInfo connectionInfo)
-
backupSchedule
public DbaasServicePg backupSchedule(DbaasServiceMysqlBackupSchedule backupSchedule)
-
getBackupSchedule
@Nullable public DbaasServiceMysqlBackupSchedule getBackupSchedule()
Get backupSchedule- Returns:
- backupSchedule
-
setBackupSchedule
public void setBackupSchedule(DbaasServiceMysqlBackupSchedule backupSchedule)
-
nodeCpuCount
public DbaasServicePg 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 DbaasServicePg integrations(List<DbaasIntegration> integrations)
-
addIntegrationsItem
public DbaasServicePg addIntegrationsItem(DbaasIntegration integrationsItem)
-
getIntegrations
@Nullable public List<DbaasIntegration> getIntegrations()
Service integrations- Returns:
- integrations
-
setIntegrations
public void setIntegrations(List<DbaasIntegration> integrations)
-
zone
public DbaasServicePg 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 DbaasServicePg nodeStates(List<DbaasNodeState> nodeStates)
-
addNodeStatesItem
public DbaasServicePg 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 DbaasServicePg name(String name)
-
getName
@Nonnull public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
connectionPools
public DbaasServicePg connectionPools(List<DbaasServicePgConnectionPoolsInner> connectionPools)
-
addConnectionPoolsItem
public DbaasServicePg addConnectionPoolsItem(DbaasServicePgConnectionPoolsInner connectionPoolsItem)
-
getConnectionPools
@Nullable public List<DbaasServicePgConnectionPoolsInner> getConnectionPools()
PostgreSQL PGBouncer connection pools- Returns:
- connectionPools
-
setConnectionPools
public void setConnectionPools(List<DbaasServicePgConnectionPoolsInner> connectionPools)
-
type
public DbaasServicePg type(String type)
-
getType
@Nonnull public String getType()
Get type- Returns:
- type
-
setType
public void setType(String type)
-
state
public DbaasServicePg state(EnumServiceState state)
-
getState
@Nullable public EnumServiceState getState()
Get state- Returns:
- state
-
setState
public void setState(EnumServiceState state)
-
timescaledbSettings
public DbaasServicePg timescaledbSettings(JsonSchemaTimescaledb timescaledbSettings)
-
getTimescaledbSettings
@Nullable public JsonSchemaTimescaledb getTimescaledbSettings()
Get timescaledbSettings- Returns:
- timescaledbSettings
-
setTimescaledbSettings
public void setTimescaledbSettings(JsonSchemaTimescaledb timescaledbSettings)
-
databases
public DbaasServicePg databases(List<String> databases)
-
addDatabasesItem
public DbaasServicePg addDatabasesItem(String databasesItem)
-
getDatabases
@Nullable public List<String> getDatabases()
List of PostgreSQL databases- Returns:
- databases
-
ipFilter
public DbaasServicePg ipFilter(List<String> ipFilter)
-
addIpFilterItem
public DbaasServicePg addIpFilterItem(String ipFilterItem)
-
getIpFilter
@Nullable public List<String> getIpFilter()
Allowed CIDR address blocks for incoming connections- Returns:
- ipFilter
-
backups
public DbaasServicePg backups(List<DbaasServiceBackup> backups)
-
addBackupsItem
public DbaasServicePg 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 DbaasServicePg 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 DbaasServicePg notifications(List<DbaasServiceNotification> notifications)
-
addNotificationsItem
public DbaasServicePg addNotificationsItem(DbaasServiceNotification notificationsItem)
-
getNotifications
@Nullable public List<DbaasServiceNotification> getNotifications()
Service notifications- Returns:
- notifications
-
setNotifications
public void setNotifications(List<DbaasServiceNotification> notifications)
-
components
public DbaasServicePg components(List<DbaasServiceMysqlComponentsInner> components)
-
addComponentsItem
public DbaasServicePg addComponentsItem(DbaasServiceMysqlComponentsInner componentsItem)
-
getComponents
@Nullable public List<DbaasServiceMysqlComponentsInner> getComponents()
Service component information objects- Returns:
- components
-
setComponents
public void setComponents(List<DbaasServiceMysqlComponentsInner> components)
-
synchronousReplication
public DbaasServicePg synchronousReplication(EnumPgSynchronousReplication synchronousReplication)
-
getSynchronousReplication
@Nullable public EnumPgSynchronousReplication getSynchronousReplication()
Get synchronousReplication- Returns:
- synchronousReplication
-
setSynchronousReplication
public void setSynchronousReplication(EnumPgSynchronousReplication synchronousReplication)
-
pglookoutSettings
public DbaasServicePg pglookoutSettings(JsonSchemaPglookout pglookoutSettings)
-
getPglookoutSettings
@Nullable public JsonSchemaPglookout getPglookoutSettings()
Get pglookoutSettings- Returns:
- pglookoutSettings
-
setPglookoutSettings
public void setPglookoutSettings(JsonSchemaPglookout pglookoutSettings)
-
maintenance
public DbaasServicePg maintenance(DbaasServiceMaintenance maintenance)
-
getMaintenance
@Nullable public DbaasServiceMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(DbaasServiceMaintenance maintenance)
-
diskSize
public DbaasServicePg 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 DbaasServicePg 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 DbaasServicePg 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 DbaasServicePg 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 DbaasServicePg version(String version)
-
getVersion
@Nullable public String getVersion()
PostgreSQL version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
createdAt
public DbaasServicePg createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Service creation timestamp (ISO 8601)- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
plan
public DbaasServicePg plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
workMem
public DbaasServicePg workMem(Long workMem)
-
getWorkMem
@Nullable public Long getWorkMem()
Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). minimum: 1 maximum: 1024- Returns:
- workMem
-
setWorkMem
public void setWorkMem(Long workMem)
-
sharedBuffersPercentage
public DbaasServicePg sharedBuffersPercentage(Long sharedBuffersPercentage)
-
getSharedBuffersPercentage
@Nullable public Long getSharedBuffersPercentage()
Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. minimum: 20 maximum: 60- Returns:
- sharedBuffersPercentage
-
setSharedBuffersPercentage
public void setSharedBuffersPercentage(Long sharedBuffersPercentage)
-
pgSettings
public DbaasServicePg pgSettings(JsonSchemaPg pgSettings)
-
getPgSettings
@Nullable public JsonSchemaPg getPgSettings()
Get pgSettings- Returns:
- pgSettings
-
setPgSettings
public void setPgSettings(JsonSchemaPg pgSettings)
-
maxConnections
public DbaasServicePg maxConnections(Long maxConnections)
-
getMaxConnections
@Nullable public Long getMaxConnections()
Maximum number of connections allowed to an instance minimum: 0- Returns:
- maxConnections
-
setMaxConnections
public void setMaxConnections(Long maxConnections)
-
users
public DbaasServicePg users(List<DbaasServicePgUsersInner> users)
-
addUsersItem
public DbaasServicePg addUsersItem(DbaasServicePgUsersInner usersItem)
-
getUsers
@Nullable public List<DbaasServicePgUsersInner> getUsers()
List of service users- Returns:
- users
-
setUsers
public void setUsers(List<DbaasServicePgUsersInner> users)
-
equals
public boolean equals(Object o)
Return true if this dbaas-service-pg object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-