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
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_BINLOG_RETENTION_PERIOD
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_MYSQL_SETTINGS
static String
JSON_PROPERTY_PLAN
static String
JSON_PROPERTY_RECOVERY_BACKUP_TIME
static String
JSON_PROPERTY_TERMINATION_PROTECTION
static String
JSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description CreateDbaasServiceMysqlRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_BACKUP_SCHEDULE
public static final String JSON_PROPERTY_BACKUP_SCHEDULE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATIONS
public static final String JSON_PROPERTY_INTEGRATIONS
- 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_RECOVERY_BACKUP_TIME
public static final String JSON_PROPERTY_RECOVERY_BACKUP_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MYSQL_SETTINGS
public static final String JSON_PROPERTY_MYSQL_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_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
-
JSON_PROPERTY_BINLOG_RETENTION_PERIOD
public static final String JSON_PROPERTY_BINLOG_RETENTION_PERIOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
backupSchedule
public CreateDbaasServiceMysqlRequest backupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule)
-
getBackupSchedule
@Nullable public UpdateDbaasServiceMysqlRequestBackupSchedule getBackupSchedule()
Get backupSchedule- Returns:
- backupSchedule
-
setBackupSchedule
public void setBackupSchedule(UpdateDbaasServiceMysqlRequestBackupSchedule backupSchedule)
-
integrations
public CreateDbaasServiceMysqlRequest integrations(List<CreateDbaasServiceMysqlRequestIntegrationsInner> integrations)
-
addIntegrationsItem
public CreateDbaasServiceMysqlRequest 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)
-
ipFilter
public CreateDbaasServiceMysqlRequest ipFilter(List<String> ipFilter)
-
addIpFilterItem
public CreateDbaasServiceMysqlRequest 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 CreateDbaasServiceMysqlRequest 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 CreateDbaasServiceMysqlRequest forkFromService(String forkFromService)
-
getForkFromService
@Nullable public String getForkFromService()
Get forkFromService- Returns:
- forkFromService
-
setForkFromService
public void setForkFromService(String forkFromService)
-
recoveryBackupTime
public CreateDbaasServiceMysqlRequest 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)
-
mysqlSettings
public CreateDbaasServiceMysqlRequest mysqlSettings(JsonSchemaMysql mysqlSettings)
-
getMysqlSettings
@Nullable public JsonSchemaMysql getMysqlSettings()
Get mysqlSettings- Returns:
- mysqlSettings
-
setMysqlSettings
public void setMysqlSettings(JsonSchemaMysql mysqlSettings)
-
maintenance
public CreateDbaasServiceMysqlRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
getMaintenance
@Nullable public UpdateDbaasServiceMysqlRequestMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
adminUsername
public CreateDbaasServiceMysqlRequest 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 CreateDbaasServiceMysqlRequest version(String version)
-
getVersion
@Nullable public String getVersion()
MySQL major version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
plan
public CreateDbaasServiceMysqlRequest plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
adminPassword
public CreateDbaasServiceMysqlRequest 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 CreateDbaasServiceMysqlRequest migration(UpdateDbaasServiceMysqlRequestMigration migration)
-
getMigration
@Nullable public UpdateDbaasServiceMysqlRequestMigration getMigration()
Get migration- Returns:
- migration
-
setMigration
public void setMigration(UpdateDbaasServiceMysqlRequestMigration migration)
-
binlogRetentionPeriod
public CreateDbaasServiceMysqlRequest binlogRetentionPeriod(Long binlogRetentionPeriod)
-
getBinlogRetentionPeriod
@Nullable public Long 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
public void setBinlogRetentionPeriod(Long binlogRetentionPeriod)
-
equals
public boolean equals(Object o)
Return true if this create_dbaas_service_mysql_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-