Package com.exoscale.sdk.model
Class CreateDbaasServicePgRequest
- java.lang.Object
-
- com.exoscale.sdk.model.CreateDbaasServicePgRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class CreateDbaasServicePgRequest extends Object
CreateDbaasServicePgRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ADMIN_PASSWORD
static String
JSON_PROPERTY_ADMIN_USERNAME
static String
JSON_PROPERTY_BACKUP_SCHEDULE
static String
JSON_PROPERTY_FORK_FROM_SERVICE
static String
JSON_PROPERTY_INTEGRATIONS
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_RECOVERY_BACKUP_TIME
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 CreateDbaasServicePgRequest()
-
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_INTEGRATIONS
public static final String JSON_PROPERTY_INTEGRATIONS
- 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_FORK_FROM_SERVICE
public static final String JSON_PROPERTY_FORK_FROM_SERVICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SYNCHRONOUS_REPLICATION
public static final String JSON_PROPERTY_SYNCHRONOUS_REPLICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECOVERY_BACKUP_TIME
public static final String JSON_PROPERTY_RECOVERY_BACKUP_TIME
- 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_ADMIN_USERNAME
public static final String JSON_PROPERTY_ADMIN_USERNAME
- 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_ADMIN_PASSWORD
public static final String JSON_PROPERTY_ADMIN_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATION
public static final String JSON_PROPERTY_MIGRATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
pgbouncerSettings
public CreateDbaasServicePgRequest pgbouncerSettings(JsonSchemaPgbouncer pgbouncerSettings)
-
getPgbouncerSettings
@Nullable public JsonSchemaPgbouncer getPgbouncerSettings()
Get pgbouncerSettings- Returns:
- pgbouncerSettings
-
setPgbouncerSettings
public void setPgbouncerSettings(JsonSchemaPgbouncer pgbouncerSettings)
-
backupSchedule
public CreateDbaasServicePgRequest backupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule)
-
getBackupSchedule
@Nullable public UpdateDbaasServiceMysqlRequestBackupSchedule getBackupSchedule()
Get backupSchedule- Returns:
- backupSchedule
-
setBackupSchedule
public void setBackupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule)
-
variant
public CreateDbaasServicePgRequest variant(EnumPgVariant variant)
-
getVariant
@Nullable public EnumPgVariant getVariant()
Get variant- Returns:
- variant
-
setVariant
public void setVariant(EnumPgVariant variant)
-
integrations
public CreateDbaasServicePgRequest integrations(List<CreateDbaasServiceMysqlRequestIntegrationsInner> integrations)
-
addIntegrationsItem
public CreateDbaasServicePgRequest addIntegrationsItem(CreateDbaasServiceMysqlRequestIntegrationsInner integrationsItem)
-
getIntegrations
@Nullable public List<CreateDbaasServiceMysqlRequestIntegrationsInner> getIntegrations()
Service integrations to be enabled when creating the service.- Returns:
- integrations
-
setIntegrations
public void setIntegrations(List<CreateDbaasServiceMysqlRequestIntegrationsInner> integrations)
-
timescaledbSettings
public CreateDbaasServicePgRequest timescaledbSettings(JsonSchemaTimescaledb timescaledbSettings)
-
getTimescaledbSettings
@Nullable public JsonSchemaTimescaledb getTimescaledbSettings()
Get timescaledbSettings- Returns:
- timescaledbSettings
-
setTimescaledbSettings
public void setTimescaledbSettings(JsonSchemaTimescaledb timescaledbSettings)
-
ipFilter
public CreateDbaasServicePgRequest ipFilter(List<String> ipFilter)
-
addIpFilterItem
public CreateDbaasServicePgRequest 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 CreateDbaasServicePgRequest terminationProtection(Boolean terminationProtection)
-
getTerminationProtection
@Nullable public Boolean getTerminationProtection()
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
public void setTerminationProtection(Boolean terminationProtection)
-
forkFromService
public CreateDbaasServicePgRequest forkFromService(String forkFromService)
-
getForkFromService
@Nullable public String getForkFromService()
Get forkFromService- Returns:
- forkFromService
-
setForkFromService
public void setForkFromService(String forkFromService)
-
synchronousReplication
public CreateDbaasServicePgRequest synchronousReplication(EnumPgSynchronousReplication synchronousReplication)
-
getSynchronousReplication
@Nullable public EnumPgSynchronousReplication getSynchronousReplication()
Get synchronousReplication- Returns:
- synchronousReplication
-
setSynchronousReplication
public void setSynchronousReplication(EnumPgSynchronousReplication synchronousReplication)
-
recoveryBackupTime
public CreateDbaasServicePgRequest recoveryBackupTime(String recoveryBackupTime)
-
getRecoveryBackupTime
@Nullable public String getRecoveryBackupTime()
ISO time of a backup to recover from for services that support arbitrary times- Returns:
- recoveryBackupTime
-
setRecoveryBackupTime
public void setRecoveryBackupTime(String recoveryBackupTime)
-
pglookoutSettings
public CreateDbaasServicePgRequest pglookoutSettings(JsonSchemaPglookout pglookoutSettings)
-
getPglookoutSettings
@Nullable public JsonSchemaPglookout getPglookoutSettings()
Get pglookoutSettings- Returns:
- pglookoutSettings
-
setPglookoutSettings
public void setPglookoutSettings(JsonSchemaPglookout pglookoutSettings)
-
maintenance
public CreateDbaasServicePgRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
getMaintenance
@Nullable public UpdateDbaasServiceMysqlRequestMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
adminUsername
public CreateDbaasServicePgRequest adminUsername(String adminUsername)
-
getAdminUsername
@Nullable public String getAdminUsername()
Custom username for admin user. This must be set only when a new service is being created.- Returns:
- adminUsername
-
setAdminUsername
public void setAdminUsername(String adminUsername)
-
version
public CreateDbaasServicePgRequest version(DbaasPgTargetVersions version)
-
getVersion
@Nullable public DbaasPgTargetVersions getVersion()
Get version- Returns:
- version
-
setVersion
public void setVersion(DbaasPgTargetVersions version)
-
plan
public CreateDbaasServicePgRequest plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
workMem
public CreateDbaasServicePgRequest 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 CreateDbaasServicePgRequest 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 CreateDbaasServicePgRequest pgSettings(JsonSchemaPg pgSettings)
-
getPgSettings
@Nullable public JsonSchemaPg getPgSettings()
Get pgSettings- Returns:
- pgSettings
-
setPgSettings
public void setPgSettings(JsonSchemaPg pgSettings)
-
adminPassword
public CreateDbaasServicePgRequest adminPassword(String adminPassword)
-
getAdminPassword
@Nullable public String getAdminPassword()
Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.- Returns:
- adminPassword
-
setAdminPassword
public void setAdminPassword(String adminPassword)
-
migration
public CreateDbaasServicePgRequest 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 create_dbaas_service_pg_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-