Package com.exoscale.sdk.model
Class UpdateDbaasServicePgRequest
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateDbaasServicePgRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateDbaasServicePgRequest extends Object
UpdateDbaasServicePgRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_BACKUP_SCHEDULE
static String
JSON_PROPERTY_IP_FILTER
static String
JSON_PROPERTY_MAINTENANCE
static String
JSON_PROPERTY_MIGRATION
static String
JSON_PROPERTY_PG_SETTINGS
static String
JSON_PROPERTY_PGBOUNCER_SETTINGS
static String
JSON_PROPERTY_PGLOOKOUT_SETTINGS
static String
JSON_PROPERTY_PLAN
static String
JSON_PROPERTY_SHARED_BUFFERS_PERCENTAGE
static String
JSON_PROPERTY_SYNCHRONOUS_REPLICATION
static String
JSON_PROPERTY_TERMINATION_PROTECTION
static String
JSON_PROPERTY_TIMESCALEDB_SETTINGS
static String
JSON_PROPERTY_VARIANT
static String
JSON_PROPERTY_VERSION
static String
JSON_PROPERTY_WORK_MEM
-
Constructor Summary
Constructors Constructor Description UpdateDbaasServicePgRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_PGBOUNCER_SETTINGS
public static final String JSON_PROPERTY_PGBOUNCER_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BACKUP_SCHEDULE
public static final String JSON_PROPERTY_BACKUP_SCHEDULE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VARIANT
public static final String JSON_PROPERTY_VARIANT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMESCALEDB_SETTINGS
public static final String JSON_PROPERTY_TIMESCALEDB_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP_FILTER
public static final String JSON_PROPERTY_IP_FILTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINATION_PROTECTION
public static final String JSON_PROPERTY_TERMINATION_PROTECTION
- 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_VERSION
public static final String JSON_PROPERTY_VERSION
- 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_MIGRATION
public static final String JSON_PROPERTY_MIGRATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
pgbouncerSettings
public UpdateDbaasServicePgRequest pgbouncerSettings(JsonSchemaPgbouncer pgbouncerSettings)
-
getPgbouncerSettings
@Nullable public JsonSchemaPgbouncer getPgbouncerSettings()
Get pgbouncerSettings- Returns:
- pgbouncerSettings
-
setPgbouncerSettings
public void setPgbouncerSettings(JsonSchemaPgbouncer pgbouncerSettings)
-
backupSchedule
public UpdateDbaasServicePgRequest backupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule)
-
getBackupSchedule
@Nullable public UpdateDbaasServiceMysqlRequestBackupSchedule getBackupSchedule()
Get backupSchedule- Returns:
- backupSchedule
-
setBackupSchedule
public void setBackupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule)
-
variant
public UpdateDbaasServicePgRequest variant(EnumPgVariant variant)
-
getVariant
@Nullable public EnumPgVariant getVariant()
Get variant- Returns:
- variant
-
setVariant
public void setVariant(EnumPgVariant variant)
-
timescaledbSettings
public UpdateDbaasServicePgRequest timescaledbSettings(JsonSchemaTimescaledb timescaledbSettings)
-
getTimescaledbSettings
@Nullable public JsonSchemaTimescaledb getTimescaledbSettings()
Get timescaledbSettings- Returns:
- timescaledbSettings
-
setTimescaledbSettings
public void setTimescaledbSettings(JsonSchemaTimescaledb timescaledbSettings)
-
ipFilter
public UpdateDbaasServicePgRequest ipFilter(List<String> ipFilter)
-
addIpFilterItem
public UpdateDbaasServicePgRequest addIpFilterItem(String ipFilterItem)
-
getIpFilter
@Nullable public List<String> getIpFilter()
Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'- Returns:
- ipFilter
-
terminationProtection
public UpdateDbaasServicePgRequest terminationProtection(Boolean terminationProtection)
-
getTerminationProtection
@Nullable public Boolean getTerminationProtection()
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
public void setTerminationProtection(Boolean terminationProtection)
-
synchronousReplication
public UpdateDbaasServicePgRequest synchronousReplication(EnumPgSynchronousReplication synchronousReplication)
-
getSynchronousReplication
@Nullable public EnumPgSynchronousReplication getSynchronousReplication()
Get synchronousReplication- Returns:
- synchronousReplication
-
setSynchronousReplication
public void setSynchronousReplication(EnumPgSynchronousReplication synchronousReplication)
-
pglookoutSettings
public UpdateDbaasServicePgRequest pglookoutSettings(JsonSchemaPglookout pglookoutSettings)
-
getPglookoutSettings
@Nullable public JsonSchemaPglookout getPglookoutSettings()
Get pglookoutSettings- Returns:
- pglookoutSettings
-
setPglookoutSettings
public void setPglookoutSettings(JsonSchemaPglookout pglookoutSettings)
-
maintenance
public UpdateDbaasServicePgRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
getMaintenance
@Nullable public UpdateDbaasServiceMysqlRequestMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
version
public UpdateDbaasServicePgRequest version(String version)
-
getVersion
@Nullable public String getVersion()
Version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
plan
public UpdateDbaasServicePgRequest plan(String plan)
-
getPlan
@Nullable public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
workMem
public UpdateDbaasServicePgRequest 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 UpdateDbaasServicePgRequest 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 UpdateDbaasServicePgRequest pgSettings(JsonSchemaPg pgSettings)
-
getPgSettings
@Nullable public JsonSchemaPg getPgSettings()
Get pgSettings- Returns:
- pgSettings
-
setPgSettings
public void setPgSettings(JsonSchemaPg pgSettings)
-
migration
public UpdateDbaasServicePgRequest migration(UpdateDbaasServiceMysqlRequestMigration migration)
-
getMigration
@Nullable public UpdateDbaasServiceMysqlRequestMigration getMigration()
Get migration- Returns:
- migration
-
setMigration
public void setMigration(UpdateDbaasServiceMysqlRequestMigration migration)
-
equals
public boolean equals(Object o)
Return true if this update_dbaas_service_pg_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-