Package com.exoscale.sdk.model
Class CreateDbaasServiceOpensearchRequest
java.lang.Object
com.exoscale.sdk.model.CreateDbaasServiceOpensearchRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateDbaasServiceOpensearchRequest
extends Object
CreateDbaasServiceOpensearchRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIndexPatternsItem
(UpdateDbaasServiceOpensearchRequestIndexPatternsInner indexPatternsItem) addIpFilterItem
(String ipFilterItem) boolean
Return true if this create_dbaas_service_opensearch_request object is equal to o.forkFromService
(String forkFromService) Get forkFromServiceAllows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep.Get indexTemplateAllow incoming connections from CIDR address block, e.g.Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search.Get maintenanceMaximum number of indexes to keep before deleting the oldest one minimum: 0Get opensearchDashboardsGet opensearchSettingsgetPlan()
Subscription planName of a backup to recover from for services that support backup namesService is protected against termination and powering offOpenSearch major versionint
hashCode()
indexPatterns
(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns) indexTemplate
(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate) keepIndexRefreshInterval
(Boolean keepIndexRefreshInterval) maintenance
(UpdateDbaasServiceMysqlRequestMaintenance maintenance) maxIndexCount
(Long maxIndexCount) opensearchDashboards
(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) opensearchSettings
(JsonSchemaOpensearch opensearchSettings) recoveryBackupName
(String recoveryBackupName) void
setForkFromService
(String forkFromService) void
void
setIndexTemplate
(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate) void
setIpFilter
(List<String> ipFilter) void
setKeepIndexRefreshInterval
(Boolean keepIndexRefreshInterval) void
setMaintenance
(UpdateDbaasServiceMysqlRequestMaintenance maintenance) void
setMaxIndexCount
(Long maxIndexCount) void
setOpensearchDashboards
(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) void
setOpensearchSettings
(JsonSchemaOpensearch opensearchSettings) void
void
setRecoveryBackupName
(String recoveryBackupName) 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_MAX_INDEX_COUNT
- See Also:
-
JSON_PROPERTY_KEEP_INDEX_REFRESH_INTERVAL
- See Also:
-
JSON_PROPERTY_IP_FILTER
- See Also:
-
JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
-
JSON_PROPERTY_FORK_FROM_SERVICE
- See Also:
-
JSON_PROPERTY_INDEX_PATTERNS
- See Also:
-
JSON_PROPERTY_MAINTENANCE
- See Also:
-
JSON_PROPERTY_INDEX_TEMPLATE
- See Also:
-
JSON_PROPERTY_OPENSEARCH_SETTINGS
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_RECOVERY_BACKUP_NAME
- See Also:
-
JSON_PROPERTY_PLAN
- See Also:
-
JSON_PROPERTY_OPENSEARCH_DASHBOARDS
- See Also:
-
-
Constructor Details
-
CreateDbaasServiceOpensearchRequest
public CreateDbaasServiceOpensearchRequest()
-
-
Method Details
-
maxIndexCount
-
getMaxIndexCount
Maximum number of indexes to keep before deleting the oldest one minimum: 0- Returns:
- maxIndexCount
-
setMaxIndexCount
-
keepIndexRefreshInterval
public CreateDbaasServiceOpensearchRequest keepIndexRefreshInterval(Boolean keepIndexRefreshInterval) -
getKeepIndexRefreshInterval
Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn't fit your case, you can disable this by setting up this flag to true.- Returns:
- keepIndexRefreshInterval
-
setKeepIndexRefreshInterval
-
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
-
indexPatterns
public CreateDbaasServiceOpensearchRequest indexPatterns(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns) -
addIndexPatternsItem
public CreateDbaasServiceOpensearchRequest addIndexPatternsItem(UpdateDbaasServiceOpensearchRequestIndexPatternsInner indexPatternsItem) -
getIndexPatterns
Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like 'logs.?' and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note 'logs.?' does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored.- Returns:
- indexPatterns
-
setIndexPatterns
public void setIndexPatterns(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns) -
maintenance
public CreateDbaasServiceOpensearchRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance) -
getMaintenance
Get maintenance- Returns:
- maintenance
-
setMaintenance
-
indexTemplate
public CreateDbaasServiceOpensearchRequest indexTemplate(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate) -
getIndexTemplate
Get indexTemplate- Returns:
- indexTemplate
-
setIndexTemplate
-
opensearchSettings
public CreateDbaasServiceOpensearchRequest opensearchSettings(JsonSchemaOpensearch opensearchSettings) -
getOpensearchSettings
Get opensearchSettings- Returns:
- opensearchSettings
-
setOpensearchSettings
-
version
-
getVersion
OpenSearch major version- Returns:
- version
-
setVersion
-
recoveryBackupName
-
getRecoveryBackupName
Name of a backup to recover from for services that support backup names- Returns:
- recoveryBackupName
-
setRecoveryBackupName
-
plan
-
getPlan
Subscription plan- Returns:
- plan
-
setPlan
-
opensearchDashboards
public CreateDbaasServiceOpensearchRequest opensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) -
getOpensearchDashboards
Get opensearchDashboards- Returns:
- opensearchDashboards
-
setOpensearchDashboards
public void setOpensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) -
equals
Return true if this create_dbaas_service_opensearch_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
-