Package com.exoscale.sdk.model
Class DbaasServiceCommon
java.lang.Object
com.exoscale.sdk.model.DbaasServiceCommon
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class DbaasServiceCommon
extends Object
DbaasServiceCommon
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIntegrationsItem(DbaasIntegration integrationsItem) addNotificationsItem(DbaasServiceNotification notificationsItem) createdAt(OffsetDateTime createdAt) booleanReturn true if this dbaas-service-common object is equal to o.Service creation timestamp (ISO 8601)TODO UNIT disk space for data storage minimum: 0Service integrationsgetName()Get nameNumber of service nodes in the active plan minimum: 0Number of CPUs for each node minimum: 0TODO UNIT of memory for each node minimum: 0Service notificationsgetPlan()Subscription plangetState()Get stateService is protected against termination and powering offgetType()Get typeService last update timestamp (ISO 8601)getZone()The zone where the service is runninginthashCode()integrations(List<DbaasIntegration> integrations) nodeCpuCount(Long nodeCpuCount) nodeMemory(Long nodeMemory) notifications(List<DbaasServiceNotification> notifications) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDiskSize(Long diskSize) voidsetIntegrations(List<DbaasIntegration> integrations) voidvoidsetNodeCount(Long nodeCount) voidsetNodeCpuCount(Long nodeCpuCount) voidsetNodeMemory(Long nodeMemory) voidsetNotifications(List<DbaasServiceNotification> notifications) voidvoidsetState(EnumServiceState state) voidsetTerminationProtection(Boolean terminationProtection) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidstate(EnumServiceState state) terminationProtection(Boolean terminationProtection) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_NODE_COUNT
- See Also:
-
JSON_PROPERTY_NODE_CPU_COUNT
- See Also:
-
JSON_PROPERTY_INTEGRATIONS
- See Also:
-
JSON_PROPERTY_ZONE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TERMINATION_PROTECTION
- See Also:
-
JSON_PROPERTY_NOTIFICATIONS
- See Also:
-
JSON_PROPERTY_DISK_SIZE
- See Also:
-
JSON_PROPERTY_NODE_MEMORY
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_PLAN
- See Also:
-
-
Constructor Details
-
DbaasServiceCommon
public DbaasServiceCommon()
-
-
Method Details
-
updatedAt
-
getUpdatedAt
Service last update timestamp (ISO 8601)- Returns:
- updatedAt
-
setUpdatedAt
-
nodeCount
-
getNodeCount
Number of service nodes in the active plan minimum: 0- Returns:
- nodeCount
-
setNodeCount
-
nodeCpuCount
-
getNodeCpuCount
Number of CPUs for each node minimum: 0- Returns:
- nodeCpuCount
-
setNodeCpuCount
-
integrations
-
addIntegrationsItem
-
getIntegrations
Service integrations- Returns:
- integrations
-
setIntegrations
-
zone
-
getZone
The zone where the service is running- Returns:
- zone
-
setZone
-
name
-
getName
Get name- Returns:
- name
-
setName
-
type
-
getType
Get type- Returns:
- type
-
setType
-
state
-
getState
Get state- Returns:
- state
-
setState
-
terminationProtection
-
getTerminationProtection
Service is protected against termination and powering off- Returns:
- terminationProtection
-
setTerminationProtection
-
notifications
-
addNotificationsItem
-
getNotifications
Service notifications- Returns:
- notifications
-
setNotifications
-
diskSize
-
getDiskSize
TODO UNIT disk space for data storage minimum: 0- Returns:
- diskSize
-
setDiskSize
-
nodeMemory
-
getNodeMemory
TODO UNIT of memory for each node minimum: 0- Returns:
- nodeMemory
-
setNodeMemory
-
createdAt
-
getCreatedAt
Service creation timestamp (ISO 8601)- Returns:
- createdAt
-
setCreatedAt
-
plan
-
getPlan
Subscription plan- Returns:
- plan
-
setPlan
-
equals
Return true if this dbaas-service-common 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
-