Package com.exoscale.sdk.model
Class DbaasPlan
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasPlan
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasPlan extends Object
DBaaS plan
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_AUTHORIZED
static String
JSON_PROPERTY_BACKUP_CONFIG
static String
JSON_PROPERTY_DISK_SPACE
static String
JSON_PROPERTY_MAX_MEMORY_PERCENT
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_NODE_COUNT
static String
JSON_PROPERTY_NODE_CPU_COUNT
static String
JSON_PROPERTY_NODE_MEMORY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbaasPlan
backupConfig(DbaasBackupConfig backupConfig)
boolean
equals(Object o)
Return true if this dbaas-plan object is equal to o.Boolean
getAuthorized()
Requires authorization or publicly availableDbaasBackupConfig
getBackupConfig()
Get backupConfigLong
getDiskSpace()
DBaaS plan disk spaceLong
getMaxMemoryPercent()
DBaaS plan max memory allocated percentage minimum: 0String
getName()
DBaaS plan nameLong
getNodeCount()
DBaaS plan node count minimum: 0Long
getNodeCpuCount()
DBaaS plan CPU count per node minimum: 0Long
getNodeMemory()
DBaaS plan memory count per node minimum: 0int
hashCode()
void
setBackupConfig(DbaasBackupConfig backupConfig)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- 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_DISK_SPACE
public static final String JSON_PROPERTY_DISK_SPACE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_MEMORY
public static final String JSON_PROPERTY_NODE_MEMORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_MEMORY_PERCENT
public static final String JSON_PROPERTY_MAX_MEMORY_PERCENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BACKUP_CONFIG
public static final String JSON_PROPERTY_BACKUP_CONFIG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHORIZED
public static final String JSON_PROPERTY_AUTHORIZED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
@Nullable public String getName()
DBaaS plan name- Returns:
- name
-
getNodeCount
@Nullable public Long getNodeCount()
DBaaS plan node count minimum: 0- Returns:
- nodeCount
-
getNodeCpuCount
@Nullable public Long getNodeCpuCount()
DBaaS plan CPU count per node minimum: 0- Returns:
- nodeCpuCount
-
getDiskSpace
@Nullable public Long getDiskSpace()
DBaaS plan disk space- Returns:
- diskSpace
-
getNodeMemory
@Nullable public Long getNodeMemory()
DBaaS plan memory count per node minimum: 0- Returns:
- nodeMemory
-
getMaxMemoryPercent
@Nullable public Long getMaxMemoryPercent()
DBaaS plan max memory allocated percentage minimum: 0- Returns:
- maxMemoryPercent
-
backupConfig
public DbaasPlan backupConfig(DbaasBackupConfig backupConfig)
-
getBackupConfig
@Nullable public DbaasBackupConfig getBackupConfig()
Get backupConfig- Returns:
- backupConfig
-
setBackupConfig
public void setBackupConfig(DbaasBackupConfig backupConfig)
-
getAuthorized
@Nullable public Boolean getAuthorized()
Requires authorization or publicly available- Returns:
- authorized
-
equals
public boolean equals(Object o)
Return true if this dbaas-plan object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-