Package com.exoscale.sdk.model
Class CreateDbaasServiceRedisRequest
- java.lang.Object
-
- com.exoscale.sdk.model.CreateDbaasServiceRedisRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class CreateDbaasServiceRedisRequest extends Object
CreateDbaasServiceRedisRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_FORK_FROM_SERVICE
static String
JSON_PROPERTY_IP_FILTER
static String
JSON_PROPERTY_MAINTENANCE
static String
JSON_PROPERTY_MIGRATION
static String
JSON_PROPERTY_PLAN
static String
JSON_PROPERTY_RECOVERY_BACKUP_NAME
static String
JSON_PROPERTY_REDIS_SETTINGS
static String
JSON_PROPERTY_TERMINATION_PROTECTION
-
Constructor Summary
Constructors Constructor Description CreateDbaasServiceRedisRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MAINTENANCE
public static final String JSON_PROPERTY_MAINTENANCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PLAN
public static final String JSON_PROPERTY_PLAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINATION_PROTECTION
public static final String JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP_FILTER
public static final String JSON_PROPERTY_IP_FILTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIGRATION
public static final String JSON_PROPERTY_MIGRATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIS_SETTINGS
public static final String JSON_PROPERTY_REDIS_SETTINGS
- 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_NAME
public static final String JSON_PROPERTY_RECOVERY_BACKUP_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
maintenance
public CreateDbaasServiceRedisRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
getMaintenance
@Nullable public UpdateDbaasServiceMysqlRequestMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
plan
public CreateDbaasServiceRedisRequest plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
terminationProtection
public CreateDbaasServiceRedisRequest terminationProtection(Boolean terminationProtection)
-
getTerminationProtection
@Nullable public Boolean getTerminationProtection()
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
public void setTerminationProtection(Boolean terminationProtection)
-
ipFilter
public CreateDbaasServiceRedisRequest ipFilter(List<String> ipFilter)
-
addIpFilterItem
public CreateDbaasServiceRedisRequest 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
-
migration
public CreateDbaasServiceRedisRequest migration(UpdateDbaasServiceMysqlRequestMigration migration)
-
getMigration
@Nullable public UpdateDbaasServiceMysqlRequestMigration getMigration()
Get migration- Returns:
- migration
-
setMigration
public void setMigration(UpdateDbaasServiceMysqlRequestMigration migration)
-
redisSettings
public CreateDbaasServiceRedisRequest redisSettings(JsonSchemaRedis redisSettings)
-
getRedisSettings
@Nullable public JsonSchemaRedis getRedisSettings()
Get redisSettings- Returns:
- redisSettings
-
setRedisSettings
public void setRedisSettings(JsonSchemaRedis redisSettings)
-
forkFromService
public CreateDbaasServiceRedisRequest forkFromService(String forkFromService)
-
getForkFromService
@Nullable public String getForkFromService()
Get forkFromService- Returns:
- forkFromService
-
setForkFromService
public void setForkFromService(String forkFromService)
-
recoveryBackupName
public CreateDbaasServiceRedisRequest recoveryBackupName(String recoveryBackupName)
-
getRecoveryBackupName
@Nullable public String getRecoveryBackupName()
Name of a backup to recover from for services that support backup names- Returns:
- recoveryBackupName
-
setRecoveryBackupName
public void setRecoveryBackupName(String recoveryBackupName)
-
equals
public boolean equals(Object o)
Return true if this create_dbaas_service_redis_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-