Package com.exoscale.sdk.model
Class DbaasServiceOpensearch
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasServiceOpensearch
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasServiceOpensearch extends Object
DbaasServiceOpensearch
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DbaasServiceOpensearch()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_INDEX_COUNT
public static final String JSON_PROPERTY_MAX_INDEX_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_COUNT
public static final String JSON_PROPERTY_NODE_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONNECTION_INFO
public static final String JSON_PROPERTY_CONNECTION_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_CPU_COUNT
public static final String JSON_PROPERTY_NODE_CPU_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATIONS
public static final String JSON_PROPERTY_INTEGRATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ZONE
public static final String JSON_PROPERTY_ZONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_STATES
public static final String JSON_PROPERTY_NODE_STATES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- 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_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP_FILTER
public static final String JSON_PROPERTY_IP_FILTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BACKUPS
public static final String JSON_PROPERTY_BACKUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINATION_PROTECTION
public static final String JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFICATIONS
public static final String JSON_PROPERTY_NOTIFICATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPONENTS
public static final String JSON_PROPERTY_COMPONENTS
- 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_DISK_SIZE
public static final String JSON_PROPERTY_DISK_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_MEMORY
public static final String JSON_PROPERTY_NODE_MEMORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPENSEARCH_SETTINGS
public static final String JSON_PROPERTY_OPENSEARCH_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI_PARAMS
public static final String JSON_PROPERTY_URI_PARAMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- 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
-
JSON_PROPERTY_USERS
public static final String JSON_PROPERTY_USERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public DbaasServiceOpensearch description(String description)
-
getDescription
@Nullable public String getDescription()
DbaaS service description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
maxIndexCount
public DbaasServiceOpensearch 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)
-
updatedAt
public DbaasServiceOpensearch updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Service last update timestamp (ISO 8601)- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
nodeCount
public DbaasServiceOpensearch nodeCount(Long nodeCount)
-
getNodeCount
@Nullable public Long getNodeCount()
Number of service nodes in the active plan minimum: 0- Returns:
- nodeCount
-
setNodeCount
public void setNodeCount(Long nodeCount)
-
connectionInfo
public DbaasServiceOpensearch connectionInfo(DbaasServiceOpensearchConnectionInfo connectionInfo)
-
getConnectionInfo
@Nullable public DbaasServiceOpensearchConnectionInfo getConnectionInfo()
Get connectionInfo- Returns:
- connectionInfo
-
setConnectionInfo
public void setConnectionInfo(DbaasServiceOpensearchConnectionInfo connectionInfo)
-
nodeCpuCount
public DbaasServiceOpensearch nodeCpuCount(Long nodeCpuCount)
-
getNodeCpuCount
@Nullable public Long getNodeCpuCount()
Number of CPUs for each node minimum: 0- Returns:
- nodeCpuCount
-
setNodeCpuCount
public void setNodeCpuCount(Long nodeCpuCount)
-
integrations
public DbaasServiceOpensearch integrations(List<DbaasIntegration> integrations)
-
addIntegrationsItem
public DbaasServiceOpensearch addIntegrationsItem(DbaasIntegration integrationsItem)
-
getIntegrations
@Nullable public List<DbaasIntegration> getIntegrations()
Service integrations- Returns:
- integrations
-
setIntegrations
public void setIntegrations(List<DbaasIntegration> integrations)
-
zone
public DbaasServiceOpensearch zone(String zone)
-
getZone
@Nullable public String getZone()
The zone where the service is running- Returns:
- zone
-
setZone
public void setZone(String zone)
-
nodeStates
public DbaasServiceOpensearch nodeStates(List<DbaasNodeState> nodeStates)
-
addNodeStatesItem
public DbaasServiceOpensearch addNodeStatesItem(DbaasNodeState nodeStatesItem)
-
getNodeStates
@Nullable public List<DbaasNodeState> getNodeStates()
State of individual service nodes- Returns:
- nodeStates
-
setNodeStates
public void setNodeStates(List<DbaasNodeState> nodeStates)
-
name
public DbaasServiceOpensearch name(String name)
-
getName
@Nonnull public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
keepIndexRefreshInterval
public DbaasServiceOpensearch 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)
-
type
public DbaasServiceOpensearch type(String type)
-
getType
@Nonnull public String getType()
Get type- Returns:
- type
-
setType
public void setType(String type)
-
state
public DbaasServiceOpensearch state(EnumServiceState state)
-
getState
@Nullable public EnumServiceState getState()
Get state- Returns:
- state
-
setState
public void setState(EnumServiceState state)
-
ipFilter
public DbaasServiceOpensearch ipFilter(List<String> ipFilter)
-
addIpFilterItem
public DbaasServiceOpensearch addIpFilterItem(String ipFilterItem)
-
getIpFilter
@Nullable public List<String> getIpFilter()
Allowed CIDR address blocks for incoming connections- Returns:
- ipFilter
-
backups
public DbaasServiceOpensearch backups(List<DbaasServiceBackup> backups)
-
addBackupsItem
public DbaasServiceOpensearch addBackupsItem(DbaasServiceBackup backupsItem)
-
getBackups
@Nullable public List<DbaasServiceBackup> getBackups()
List of backups for the service- Returns:
- backups
-
setBackups
public void setBackups(List<DbaasServiceBackup> backups)
-
terminationProtection
public DbaasServiceOpensearch terminationProtection(Boolean terminationProtection)
-
getTerminationProtection
@Nullable public Boolean getTerminationProtection()
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
public void setTerminationProtection(Boolean terminationProtection)
-
notifications
public DbaasServiceOpensearch notifications(List<DbaasServiceNotification> notifications)
-
addNotificationsItem
public DbaasServiceOpensearch addNotificationsItem(DbaasServiceNotification notificationsItem)
-
getNotifications
@Nullable public List<DbaasServiceNotification> getNotifications()
Service notifications- Returns:
- notifications
-
setNotifications
public void setNotifications(List<DbaasServiceNotification> notifications)
-
components
public DbaasServiceOpensearch components(List<DbaasServiceMysqlComponentsInner> components)
-
addComponentsItem
public DbaasServiceOpensearch addComponentsItem(DbaasServiceMysqlComponentsInner componentsItem)
-
getComponents
@Nullable public List<DbaasServiceMysqlComponentsInner> getComponents()
Service component information objects- Returns:
- components
-
setComponents
public void setComponents(List<DbaasServiceMysqlComponentsInner> components)
-
indexPatterns
public DbaasServiceOpensearch indexPatterns(List<UpdateDbaasServiceOpensearchRequestIndexPatternsInner> indexPatterns)
-
addIndexPatternsItem
public DbaasServiceOpensearch 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 DbaasServiceOpensearch maintenance(DbaasServiceMaintenance maintenance)
-
getMaintenance
@Nullable public DbaasServiceMaintenance getMaintenance()
Get maintenance- Returns:
- maintenance
-
setMaintenance
public void setMaintenance(DbaasServiceMaintenance maintenance)
-
indexTemplate
public DbaasServiceOpensearch indexTemplate(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate)
-
getIndexTemplate
@Nullable public UpdateDbaasServiceOpensearchRequestIndexTemplate getIndexTemplate()
Get indexTemplate- Returns:
- indexTemplate
-
setIndexTemplate
public void setIndexTemplate(UpdateDbaasServiceOpensearchRequestIndexTemplate indexTemplate)
-
diskSize
public DbaasServiceOpensearch diskSize(Long diskSize)
-
getDiskSize
@Nullable public Long getDiskSize()
TODO UNIT disk space for data storage minimum: 0- Returns:
- diskSize
-
setDiskSize
public void setDiskSize(Long diskSize)
-
nodeMemory
public DbaasServiceOpensearch nodeMemory(Long nodeMemory)
-
getNodeMemory
@Nullable public Long getNodeMemory()
TODO UNIT of memory for each node minimum: 0- Returns:
- nodeMemory
-
setNodeMemory
public void setNodeMemory(Long nodeMemory)
-
uri
public DbaasServiceOpensearch uri(String uri)
-
getUri
@Nullable public String getUri()
URI for connecting to the service (may be absent)- Returns:
- uri
-
setUri
public void setUri(String uri)
-
opensearchSettings
public DbaasServiceOpensearch opensearchSettings(JsonSchemaOpensearch opensearchSettings)
-
getOpensearchSettings
@Nullable public JsonSchemaOpensearch getOpensearchSettings()
Get opensearchSettings- Returns:
- opensearchSettings
-
setOpensearchSettings
public void setOpensearchSettings(JsonSchemaOpensearch opensearchSettings)
-
uriParams
public DbaasServiceOpensearch uriParams(Object uriParams)
-
getUriParams
@Nullable public Object getUriParams()
service_uri parameterized into key-value pairs- Returns:
- uriParams
-
setUriParams
public void setUriParams(Object uriParams)
-
version
public DbaasServiceOpensearch version(String version)
-
getVersion
@Nullable public String getVersion()
OpenSearch version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
createdAt
public DbaasServiceOpensearch createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Service creation timestamp (ISO 8601)- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
plan
public DbaasServiceOpensearch plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
opensearchDashboards
public DbaasServiceOpensearch opensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards)
-
getOpensearchDashboards
@Nullable public UpdateDbaasServiceOpensearchRequestOpensearchDashboards getOpensearchDashboards()
Get opensearchDashboards- Returns:
- opensearchDashboards
-
setOpensearchDashboards
public void setOpensearchDashboards(UpdateDbaasServiceOpensearchRequestOpensearchDashboards opensearchDashboards)
-
users
public DbaasServiceOpensearch users(List<DbaasServiceGrafanaUsersInner> users)
-
addUsersItem
public DbaasServiceOpensearch addUsersItem(DbaasServiceGrafanaUsersInner usersItem)
-
getUsers
@Nullable public List<DbaasServiceGrafanaUsersInner> getUsers()
List of service users- Returns:
- users
-
setUsers
public void setUsers(List<DbaasServiceGrafanaUsersInner> users)
-
equals
public boolean equals(Object o)
Return true if this dbaas-service-opensearch object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-