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
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBackupsItem
(DbaasServiceBackup backupsItem) addComponentsItem
(DbaasServiceMysqlComponentsInner componentsItem) addConnectionPoolsItem
(DbaasServicePgConnectionPoolsInner connectionPoolsItem) addDatabasesItem
(String databasesItem) addIntegrationsItem
(DbaasIntegration integrationsItem) addIpFilterItem
(String ipFilterItem) addNodeStatesItem
(DbaasNodeState nodeStatesItem) addNotificationsItem
(DbaasServiceNotification notificationsItem) addUsersItem
(DbaasServicePgUsersInner usersItem) backups
(List<DbaasServiceBackup> backups) backupSchedule
(DbaasServiceMysqlBackupSchedule backupSchedule) components
(List<DbaasServiceMysqlComponentsInner> components) connectionInfo
(DbaasServicePgConnectionInfo connectionInfo) connectionPools
(List<DbaasServicePgConnectionPoolsInner> connectionPools) createdAt
(OffsetDateTime createdAt) boolean
Return true if this dbaas-service-pg object is equal to o.List of backups for the serviceGet backupScheduleService component information objectsGet connectionInfoPostgreSQL PGBouncer connection poolsService creation timestamp (ISO 8601)List of PostgreSQL databasesTODO UNIT disk space for data storage minimum: 0Service integrationsAllowed CIDR address blocks for incoming connectionsGet maintenanceMaximum number of connections allowed to an instance minimum: 0getName()
Get nameNumber of service nodes in the active plan minimum: 0Number of CPUs for each node minimum: 0TODO UNIT of memory for each node minimum: 0State of individual service nodesService notificationsGet pgbouncerSettingsGet pglookoutSettingsGet pgSettingsgetPlan()
Subscription planPercentage of total RAM that the database server uses for shared memory buffers.getState()
Get stateGet synchronousReplicationService is protected against termination and powering offGet timescaledbSettingsgetType()
Get typeService last update timestamp (ISO 8601)getUri()
URI for connecting to the service (may be absent)service_uri parameterized into key-value pairsgetUsers()
List of service usersPostgreSQL versionSets 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.getZone()
The zone where the service is runningint
hashCode()
integrations
(List<DbaasIntegration> integrations) maintenance
(DbaasServiceMaintenance maintenance) maxConnections
(Long maxConnections) nodeCpuCount
(Long nodeCpuCount) nodeMemory
(Long nodeMemory) nodeStates
(List<DbaasNodeState> nodeStates) notifications
(List<DbaasServiceNotification> notifications) pgbouncerSettings
(JsonSchemaPgbouncer pgbouncerSettings) pglookoutSettings
(JsonSchemaPglookout pglookoutSettings) pgSettings
(JsonSchemaPg pgSettings) void
setBackups
(List<DbaasServiceBackup> backups) void
setBackupSchedule
(DbaasServiceMysqlBackupSchedule backupSchedule) void
setComponents
(List<DbaasServiceMysqlComponentsInner> components) void
setConnectionInfo
(DbaasServicePgConnectionInfo connectionInfo) void
setConnectionPools
(List<DbaasServicePgConnectionPoolsInner> connectionPools) void
setCreatedAt
(OffsetDateTime createdAt) void
setDatabases
(List<String> databases) void
setDiskSize
(Long diskSize) void
setIntegrations
(List<DbaasIntegration> integrations) void
setIpFilter
(List<String> ipFilter) void
setMaintenance
(DbaasServiceMaintenance maintenance) void
setMaxConnections
(Long maxConnections) void
void
setNodeCount
(Long nodeCount) void
setNodeCpuCount
(Long nodeCpuCount) void
setNodeMemory
(Long nodeMemory) void
setNodeStates
(List<DbaasNodeState> nodeStates) void
setNotifications
(List<DbaasServiceNotification> notifications) void
setPgbouncerSettings
(JsonSchemaPgbouncer pgbouncerSettings) void
setPglookoutSettings
(JsonSchemaPglookout pglookoutSettings) void
setPgSettings
(JsonSchemaPg pgSettings) void
void
setSharedBuffersPercentage
(Long sharedBuffersPercentage) void
setState
(EnumServiceState state) void
setSynchronousReplication
(EnumPgSynchronousReplication synchronousReplication) void
setTerminationProtection
(Boolean terminationProtection) void
setTimescaledbSettings
(JsonSchemaTimescaledb timescaledbSettings) void
void
setUpdatedAt
(OffsetDateTime updatedAt) void
void
setUriParams
(Object uriParams) void
setUsers
(List<DbaasServicePgUsersInner> users) void
setVersion
(String version) void
setWorkMem
(Long workMem) void
sharedBuffersPercentage
(Long sharedBuffersPercentage) state
(EnumServiceState state) synchronousReplication
(EnumPgSynchronousReplication synchronousReplication) terminationProtection
(Boolean terminationProtection) timescaledbSettings
(JsonSchemaTimescaledb timescaledbSettings) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.updatedAt
(OffsetDateTime updatedAt) users
(List<DbaasServicePgUsersInner> users)
-
Field Details
-
JSON_PROPERTY_PGBOUNCER_SETTINGS
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_NODE_COUNT
- See Also:
-
JSON_PROPERTY_CONNECTION_INFO
- See Also:
-
JSON_PROPERTY_BACKUP_SCHEDULE
- See Also:
-
JSON_PROPERTY_NODE_CPU_COUNT
- See Also:
-
JSON_PROPERTY_INTEGRATIONS
- See Also:
-
JSON_PROPERTY_ZONE
- See Also:
-
JSON_PROPERTY_NODE_STATES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_CONNECTION_POOLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TIMESCALEDB_SETTINGS
- See Also:
-
JSON_PROPERTY_DATABASES
- See Also:
-
JSON_PROPERTY_IP_FILTER
- See Also:
-
JSON_PROPERTY_BACKUPS
- See Also:
-
JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
-
JSON_PROPERTY_NOTIFICATIONS
- See Also:
-
JSON_PROPERTY_COMPONENTS
- See Also:
-
JSON_PROPERTY_SYNCHRONOUS_REPLICATION
- See Also:
-
JSON_PROPERTY_PGLOOKOUT_SETTINGS
- See Also:
-
JSON_PROPERTY_MAINTENANCE
- See Also:
-
JSON_PROPERTY_DISK_SIZE
- See Also:
-
JSON_PROPERTY_NODE_MEMORY
- See Also:
-
JSON_PROPERTY_URI
- See Also:
-
JSON_PROPERTY_URI_PARAMS
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_PLAN
- See Also:
-
JSON_PROPERTY_WORK_MEM
- See Also:
-
JSON_PROPERTY_SHARED_BUFFERS_PERCENTAGE
- See Also:
-
JSON_PROPERTY_PG_SETTINGS
- See Also:
-
JSON_PROPERTY_MAX_CONNECTIONS
- See Also:
-
JSON_PROPERTY_USERS
- See Also:
-
-
Constructor Details
-
DbaasServicePg
public DbaasServicePg()
-
-
Method Details
-
pgbouncerSettings
-
getPgbouncerSettings
Get pgbouncerSettings- Returns:
- pgbouncerSettings
-
setPgbouncerSettings
-
updatedAt
-
getUpdatedAt
Service last update timestamp (ISO 8601)- Returns:
- updatedAt
-
setUpdatedAt
-
nodeCount
-
getNodeCount
Number of service nodes in the active plan minimum: 0- Returns:
- nodeCount
-
setNodeCount
-
connectionInfo
-
getConnectionInfo
Get connectionInfo- Returns:
- connectionInfo
-
setConnectionInfo
-
backupSchedule
-
getBackupSchedule
Get backupSchedule- Returns:
- backupSchedule
-
setBackupSchedule
-
nodeCpuCount
-
getNodeCpuCount
Number of CPUs for each node minimum: 0- Returns:
- nodeCpuCount
-
setNodeCpuCount
-
integrations
-
addIntegrationsItem
-
getIntegrations
Service integrations- Returns:
- integrations
-
setIntegrations
-
zone
-
getZone
The zone where the service is running- Returns:
- zone
-
setZone
-
nodeStates
-
addNodeStatesItem
-
getNodeStates
State of individual service nodes- Returns:
- nodeStates
-
setNodeStates
-
name
-
getName
Get name- Returns:
- name
-
setName
-
connectionPools
-
addConnectionPoolsItem
public DbaasServicePg addConnectionPoolsItem(DbaasServicePgConnectionPoolsInner connectionPoolsItem) -
getConnectionPools
PostgreSQL PGBouncer connection pools- Returns:
- connectionPools
-
setConnectionPools
-
type
-
getType
Get type- Returns:
- type
-
setType
-
state
-
getState
Get state- Returns:
- state
-
setState
-
timescaledbSettings
-
getTimescaledbSettings
Get timescaledbSettings- Returns:
- timescaledbSettings
-
setTimescaledbSettings
-
databases
-
addDatabasesItem
-
getDatabases
List of PostgreSQL databases- Returns:
- databases
-
setDatabases
-
ipFilter
-
addIpFilterItem
-
getIpFilter
Allowed CIDR address blocks for incoming connections- Returns:
- ipFilter
-
setIpFilter
-
backups
-
addBackupsItem
-
getBackups
List of backups for the service- Returns:
- backups
-
setBackups
-
terminationProtection
-
getTerminationProtection
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
-
notifications
-
addNotificationsItem
-
getNotifications
Service notifications- Returns:
- notifications
-
setNotifications
-
components
-
addComponentsItem
-
getComponents
Service component information objects- Returns:
- components
-
setComponents
-
synchronousReplication
-
getSynchronousReplication
Get synchronousReplication- Returns:
- synchronousReplication
-
setSynchronousReplication
-
pglookoutSettings
-
getPglookoutSettings
Get pglookoutSettings- Returns:
- pglookoutSettings
-
setPglookoutSettings
-
maintenance
-
getMaintenance
Get maintenance- Returns:
- maintenance
-
setMaintenance
-
diskSize
-
getDiskSize
TODO UNIT disk space for data storage minimum: 0- Returns:
- diskSize
-
setDiskSize
-
nodeMemory
-
getNodeMemory
TODO UNIT of memory for each node minimum: 0- Returns:
- nodeMemory
-
setNodeMemory
-
uri
-
getUri
URI for connecting to the service (may be absent)- Returns:
- uri
-
setUri
-
uriParams
-
getUriParams
service_uri parameterized into key-value pairs- Returns:
- uriParams
-
setUriParams
-
version
-
getVersion
PostgreSQL version- Returns:
- version
-
setVersion
-
createdAt
-
getCreatedAt
Service creation timestamp (ISO 8601)- Returns:
- createdAt
-
setCreatedAt
-
plan
-
getPlan
Subscription plan- Returns:
- plan
-
setPlan
-
workMem
-
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
-
pgSettings
-
getPgSettings
Get pgSettings- Returns:
- pgSettings
-
setPgSettings
-
maxConnections
-
getMaxConnections
Maximum number of connections allowed to an instance minimum: 0- Returns:
- maxConnections
-
setMaxConnections
-
users
-
addUsersItem
-
getUsers
List of service users- Returns:
- users
-
setUsers
-
equals
Return true if this dbaas-service-pg object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-