Package com.exoscale.sdk.model
Class UpdateDbaasServiceOpensearchRequest
java.lang.Object
com.exoscale.sdk.model.UpdateDbaasServiceOpensearchRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class UpdateDbaasServiceOpensearchRequest
extends Object
UpdateDbaasServiceOpensearchRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIndexPatternsItem
(UpdateDbaasServiceOpensearchRequestIndexPatternsInner indexPatternsItem) addIpFilterItem
(String ipFilterItem) boolean
Return true if this update_dbaas_service_opensearch_request object is equal to o.Allows 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 planService is protected against termination and powering offVersionint
hashCode()
indexPatterns
(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns) indexTemplate
(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate) keepIndexRefreshInterval
(Boolean keepIndexRefreshInterval) maintenance
(UpdateDbaasServiceMysqlRequestMaintenance maintenance) maxIndexCount
(Long maxIndexCount) opensearchDashboards
(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) opensearchSettings
(JsonSchemaOpensearch opensearchSettings) 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
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_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_PLAN
- See Also:
-
JSON_PROPERTY_OPENSEARCH_DASHBOARDS
- See Also:
-
-
Constructor Details
-
UpdateDbaasServiceOpensearchRequest
public UpdateDbaasServiceOpensearchRequest()
-
-
Method Details
-
maxIndexCount
-
getMaxIndexCount
Maximum number of indexes to keep before deleting the oldest one minimum: 0- Returns:
- maxIndexCount
-
setMaxIndexCount
-
keepIndexRefreshInterval
public UpdateDbaasServiceOpensearchRequest 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
-
indexPatterns
public UpdateDbaasServiceOpensearchRequest indexPatterns(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns) -
addIndexPatternsItem
public UpdateDbaasServiceOpensearchRequest 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 UpdateDbaasServiceOpensearchRequest maintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance) -
getMaintenance
Get maintenance- Returns:
- maintenance
-
setMaintenance
-
indexTemplate
public UpdateDbaasServiceOpensearchRequest indexTemplate(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate) -
getIndexTemplate
Get indexTemplate- Returns:
- indexTemplate
-
setIndexTemplate
-
opensearchSettings
public UpdateDbaasServiceOpensearchRequest opensearchSettings(JsonSchemaOpensearch opensearchSettings) -
getOpensearchSettings
Get opensearchSettings- Returns:
- opensearchSettings
-
setOpensearchSettings
-
version
-
getVersion
Version- Returns:
- version
-
setVersion
-
plan
-
getPlan
Subscription plan- Returns:
- plan
-
setPlan
-
opensearchDashboards
public UpdateDbaasServiceOpensearchRequest opensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) -
getOpensearchDashboards
Get opensearchDashboards- Returns:
- opensearchDashboards
-
setOpensearchDashboards
public void setOpensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards) -
equals
Return true if this update_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
-