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 Modifier and Type Field Description static String
JSON_PROPERTY_FORK_FROM_SERVICE
static String
JSON_PROPERTY_INDEX_PATTERNS
static String
JSON_PROPERTY_INDEX_TEMPLATE
static String
JSON_PROPERTY_IP_FILTER
static String
JSON_PROPERTY_KEEP_INDEX_REFRESH_INTERVAL
static String
JSON_PROPERTY_MAINTENANCE
static String
JSON_PROPERTY_MAX_INDEX_COUNT
static String
JSON_PROPERTY_OPENSEARCH_DASHBOARDS
static String
JSON_PROPERTY_OPENSEARCH_SETTINGS
static String
JSON_PROPERTY_PLAN
static String
JSON_PROPERTY_RECOVERY_BACKUP_NAME
static String
JSON_PROPERTY_TERMINATION_PROTECTION
static String
JSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description CreateDbaasServiceOpensearchRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MAX_INDEX_COUNT
public static final String JSON_PROPERTY_MAX_INDEX_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEEP_INDEX_REFRESH_INTERVAL
public static final String JSON_PROPERTY_KEEP_INDEX_REFRESH_INTERVAL
- 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_INDEX_PATTERNS
public static final String JSON_PROPERTY_INDEX_PATTERNS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAINTENANCE
public static final String JSON_PROPERTY_MAINTENANCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INDEX_TEMPLATE
public static final String JSON_PROPERTY_INDEX_TEMPLATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPENSEARCH_SETTINGS
public static final String JSON_PROPERTY_OPENSEARCH_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECOVERY_BACKUP_NAME
public static final String JSON_PROPERTY_RECOVERY_BACKUP_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PLAN
public static final String JSON_PROPERTY_PLAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPENSEARCH_DASHBOARDS
public static final String JSON_PROPERTY_OPENSEARCH_DASHBOARDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
maxIndexCount
public CreateDbaasServiceOpensearchRequest maxIndexCount(Long maxIndexCount)
-
getMaxIndexCount
@Nullable public Long getMaxIndexCount()
Maximum number of indexes to keep before deleting the oldest one minimum: 0- Returns:
- maxIndexCount
-
setMaxIndexCount
public void setMaxIndexCount(Long maxIndexCount)
-
keepIndexRefreshInterval
public CreateDbaasServiceOpensearchRequest keepIndexRefreshInterval(Boolean keepIndexRefreshInterval)
-
getKeepIndexRefreshInterval
@Nullable public Boolean 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
public void setKeepIndexRefreshInterval(Boolean keepIndexRefreshInterval)
-
ipFilter
public CreateDbaasServiceOpensearchRequest ipFilter(List<String> ipFilter)
-
addIpFilterItem
public CreateDbaasServiceOpensearchRequest 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 CreateDbaasServiceOpensearchRequest 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 CreateDbaasServiceOpensearchRequest forkFromService(String forkFromService)
-
getForkFromService
@Nullable public String getForkFromService()
Get forkFromService- Returns:
- forkFromService
-
setForkFromService
public void setForkFromService(String forkFromService)
-
indexPatterns
public CreateDbaasServiceOpensearchRequest indexPatterns(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns)
-
addIndexPatternsItem
public CreateDbaasServiceOpensearchRequest addIndexPatternsItem(UpdateDbaasServiceOpensearchRequestIndexPatternsInner indexPatternsItem)
-
getIndexPatterns
@Nullable public List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> 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
@Nullable public UpdateDbaasServiceMysqlRequestMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(UpdateDbaasServiceMysqlRequestMaintenance maintenance)
-
indexTemplate
public CreateDbaasServiceOpensearchRequest indexTemplate(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate)
-
getIndexTemplate
@Nullable public UpdateDbaasServiceOpensearchRequestIndexTemplate getIndexTemplate()
Get indexTemplate- Returns:
- indexTemplate
-
setIndexTemplate
public void setIndexTemplate(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate)
-
opensearchSettings
public CreateDbaasServiceOpensearchRequest opensearchSettings(JsonSchemaOpensearch opensearchSettings)
-
getOpensearchSettings
@Nullable public JsonSchemaOpensearch getOpensearchSettings()
Get opensearchSettings- Returns:
- opensearchSettings
-
setOpensearchSettings
public void setOpensearchSettings(JsonSchemaOpensearch opensearchSettings)
-
version
public CreateDbaasServiceOpensearchRequest version(String version)
-
getVersion
@Nullable public String getVersion()
OpenSearch major version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
recoveryBackupName
public CreateDbaasServiceOpensearchRequest 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)
-
plan
public CreateDbaasServiceOpensearchRequest plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
opensearchDashboards
public CreateDbaasServiceOpensearchRequest opensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards)
-
getOpensearchDashboards
@Nullable public UpdateDbaasServiceOpensearchRequestOpensearchDashboards getOpensearchDashboards()
Get opensearchDashboards- Returns:
- opensearchDashboards
-
setOpensearchDashboards
public void setOpensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards)
-
equals
public boolean equals(Object o)
Return true if this create_dbaas_service_opensearch_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-