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
Fields Modifier and Type Field Description static String
JSON_PROPERTY_CREATED_AT
static String
JSON_PROPERTY_DISK_SIZE
static String
JSON_PROPERTY_INTEGRATIONS
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_NODE_COUNT
static String
JSON_PROPERTY_NODE_CPU_COUNT
static String
JSON_PROPERTY_NODE_MEMORY
static String
JSON_PROPERTY_NOTIFICATIONS
static String
JSON_PROPERTY_PLAN
static String
JSON_PROPERTY_STATE
static String
JSON_PROPERTY_TERMINATION_PROTECTION
static String
JSON_PROPERTY_TYPE
static String
JSON_PROPERTY_UPDATED_AT
static String
JSON_PROPERTY_ZONE
-
Constructor Summary
Constructors Constructor Description DbaasServiceCommon()
-
Method Summary
-
-
-
Field Detail
-
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_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_NAME
public static final String JSON_PROPERTY_NAME
- 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_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_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_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
-
-
Method Detail
-
updatedAt
public DbaasServiceCommon updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Service last update timestamp (ISO 8601)- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
nodeCount
public DbaasServiceCommon 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)
-
nodeCpuCount
public DbaasServiceCommon 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 DbaasServiceCommon integrations(List<DbaasIntegration> integrations)
-
addIntegrationsItem
public DbaasServiceCommon addIntegrationsItem(DbaasIntegration integrationsItem)
-
getIntegrations
@Nullable public List<DbaasIntegration> getIntegrations()
Service integrations- Returns:
- integrations
-
setIntegrations
public void setIntegrations(List<DbaasIntegration> integrations)
-
zone
public DbaasServiceCommon zone(String zone)
-
getZone
@Nullable public String getZone()
The zone where the service is running- Returns:
- zone
-
setZone
public void setZone(String zone)
-
name
public DbaasServiceCommon name(String name)
-
getName
@Nonnull public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
type
public DbaasServiceCommon type(String type)
-
getType
@Nonnull public String getType()
Get type- Returns:
- type
-
setType
public void setType(String type)
-
state
public DbaasServiceCommon state(EnumServiceState state)
-
getState
@Nullable public EnumServiceState getState()
Get state- Returns:
- state
-
setState
public void setState(EnumServiceState state)
-
terminationProtection
public DbaasServiceCommon 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 DbaasServiceCommon notifications(List<DbaasServiceNotification> notifications)
-
addNotificationsItem
public DbaasServiceCommon addNotificationsItem(DbaasServiceNotification notificationsItem)
-
getNotifications
@Nullable public List<DbaasServiceNotification> getNotifications()
Service notifications- Returns:
- notifications
-
setNotifications
public void setNotifications(List<DbaasServiceNotification> notifications)
-
diskSize
public DbaasServiceCommon 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 DbaasServiceCommon 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)
-
createdAt
public DbaasServiceCommon createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Service creation timestamp (ISO 8601)- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
plan
public DbaasServiceCommon plan(String plan)
-
getPlan
@Nonnull public String getPlan()
Subscription plan- Returns:
- plan
-
setPlan
public void setPlan(String plan)
-
equals
public boolean equals(Object o)
Return true if this dbaas-service-common object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-