Package com.exoscale.sdk.model
Class CreateDbaasServiceMysqlRequest
java.lang.Object
com.exoscale.sdk.model.CreateDbaasServiceMysqlRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateDbaasServiceMysqlRequest
extends Object
CreateDbaasServiceMysqlRequest
-
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIntegrationsItem
(CreateDbaasServiceMysqlRequestIntegrationsInner integrationsItem) addIpFilterItem
(String ipFilterItem) adminPassword
(String adminPassword) adminUsername
(String adminUsername) backupSchedule
(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule) binlogRetentionPeriod
(Long binlogRetentionPeriod) boolean
Return true if this create_dbaas_service_mysql_request object is equal to o.forkFromService
(String forkFromService) Custom password for admin user.Custom username for admin user.Get backupScheduleThe minimum amount of time in seconds to keep binlog entries before deletion.Get forkFromServiceService integrations to be enabled when creating the service.Allow incoming connections from CIDR address block, e.g.Get maintenanceGet migrationGet mysqlSettingsgetPlan()
Subscription planISO time of a backup to recover from for services that support arbitrary timesService is protected against termination and powering offMySQL major versionint
hashCode()
integrations
(List<CreateDbaasServiceMysqlRequestIntegrationsInner> integrations) maintenance
(UpdateDbaasServiceMysqlRequestMaintenance maintenance) migration
(UpdateDbaasServiceMysqlRequestMigration migration) mysqlSettings
(JsonSchemaMysql mysqlSettings) recoveryBackupTime
(String recoveryBackupTime) void
setAdminPassword
(String adminPassword) void
setAdminUsername
(String adminUsername) void
setBackupSchedule
(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule) void
setBinlogRetentionPeriod
(Long binlogRetentionPeriod) void
setForkFromService
(String forkFromService) void
setIntegrations
(List<CreateDbaasServiceMysqlRequestIntegrationsInner> integrations) void
setIpFilter
(List<String> ipFilter) void
setMaintenance
(UpdateDbaasServiceMysqlRequestMaintenance maintenance) void
void
setMysqlSettings
(JsonSchemaMysql mysqlSettings) void
void
setRecoveryBackupTime
(String recoveryBackupTime) void
setTerminationProtection
(Boolean terminationProtection) void
setVersion
(String version) terminationProtection
(Boolean terminationProtection) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_BACKUP_SCHEDULE
- See Also:
-
JSON_PROPERTY_INTEGRATIONS
- See Also:
-
JSON_PROPERTY_IP_FILTER
- See Also:
-
JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
-
JSON_PROPERTY_FORK_FROM_SERVICE
- See Also:
-
JSON_PROPERTY_RECOVERY_BACKUP_TIME
- See Also:
-
JSON_PROPERTY_MYSQL_SETTINGS
- See Also:
-
JSON_PROPERTY_MAINTENANCE
- See Also:
-
JSON_PROPERTY_ADMIN_USERNAME
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_PLAN
- See Also:
-
JSON_PROPERTY_ADMIN_PASSWORD
- See Also:
-
JSON_PROPERTY_MIGRATION
- See Also:
-
JSON_PROPERTY_BINLOG_RETENTION_PERIOD
- See Also:
-
-
Constructor Details
-
CreateDbaasServiceMysqlRequest
public CreateDbaasServiceMysqlRequest()
-
-
Method Details
-
backupSchedule
public CreateDbaasServiceMysqlRequest backupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule) -
getBackupSchedule
Get backupSchedule- Returns:
- backupSchedule
-
setBackupSchedule
-
integrations
public CreateDbaasServiceMysqlRequest integrations(List<CreateDbaasServiceMysqlRequestIntegrationsInner> integrations) -
addIntegrationsItem
public CreateDbaasServiceMysqlRequest addIntegrationsItem(CreateDbaasServiceMysqlRequestIntegrationsInner integrationsItem) -
getIntegrations
Service integrations to be enabled when creating the service.- Returns:
- integrations
-
setIntegrations
-
ipFilter
-
addIpFilterItem
-
getIpFilter
Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'- Returns:
- ipFilter
-
setIpFilter
-
terminationProtection
-
getTerminationProtection
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
-
forkFromService
-
getForkFromService
Get forkFromService- Returns:
- forkFromService
-
setForkFromService
-
recoveryBackupTime
-
getRecoveryBackupTime
ISO time of a backup to recover from for services that support arbitrary times- Returns:
- recoveryBackupTime
-
setRecoveryBackupTime
-
mysqlSettings
-
getMysqlSettings
Get mysqlSettings- Returns:
- mysqlSettings
-
setMysqlSettings
-
maintenance
public CreateDbaasServiceMysqlRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance) -
getMaintenance
Get maintenance- Returns:
- maintenance
-
setMaintenance
-
adminUsername
-
getAdminUsername
Custom username for admin user. This must be set only when a new service is being created.- Returns:
- adminUsername
-
setAdminUsername
-
version
-
getVersion
MySQL major version- Returns:
- version
-
setVersion
-
plan
-
getPlan
Subscription plan- Returns:
- plan
-
setPlan
-
adminPassword
-
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
-
migration
-
getMigration
Get migration- Returns:
- migration
-
setMigration
-
binlogRetentionPeriod
-
getBinlogRetentionPeriod
The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. minimum: 600 maximum: 86400- Returns:
- binlogRetentionPeriod
-
setBinlogRetentionPeriod
-
equals
Return true if this create_dbaas_service_mysql_request 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
-