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_FAMILY
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
static String
JSON_PROPERTY_ZONES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbaasPlan
addZonesItem(String zonesItem)
DbaasPlan
backupConfig(DbaasBackupConfig backupConfig)
boolean
equals(Object o)
Return true if this dbaas-plan object is equal to o.DbaasPlan
family(String family)
Boolean
getAuthorized()
Requires authorization or publicly availableDbaasBackupConfig
getBackupConfig()
Get backupConfigLong
getDiskSpace()
DBaaS plan disk spaceString
getFamily()
Instance family subset which the service can useLong
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: 0List<String>
getZones()
Zones where the plan is availableint
hashCode()
void
setBackupConfig(DbaasBackupConfig backupConfig)
void
setFamily(String family)
void
setZones(List<String> zones)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.DbaasPlan
zones(List<String> zones)
-
-
-
Field Detail
-
JSON_PROPERTY_NODE_COUNT
public static final String JSON_PROPERTY_NODE_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BACKUP_CONFIG
public static final String JSON_PROPERTY_BACKUP_CONFIG
- 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_FAMILY
public static final String JSON_PROPERTY_FAMILY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_SPACE
public static final String JSON_PROPERTY_DISK_SPACE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHORIZED
public static final String JSON_PROPERTY_AUTHORIZED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- 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_ZONES
public static final String JSON_PROPERTY_ZONES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_MEMORY
public static final String JSON_PROPERTY_NODE_MEMORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNodeCount
@Nullable public Long getNodeCount()
DBaaS plan node count minimum: 0- Returns:
- nodeCount
-
backupConfig
public DbaasPlan backupConfig(DbaasBackupConfig backupConfig)
-
getBackupConfig
@Nullable public DbaasBackupConfig getBackupConfig()
Get backupConfig- Returns:
- backupConfig
-
setBackupConfig
public void setBackupConfig(DbaasBackupConfig backupConfig)
-
getNodeCpuCount
@Nullable public Long getNodeCpuCount()
DBaaS plan CPU count per node minimum: 0- Returns:
- nodeCpuCount
-
getFamily
@Nullable public String getFamily()
Instance family subset which the service can use- Returns:
- family
-
setFamily
public void setFamily(String family)
-
getDiskSpace
@Nullable public Long getDiskSpace()
DBaaS plan disk space- Returns:
- diskSpace
-
getAuthorized
@Nullable public Boolean getAuthorized()
Requires authorization or publicly available- Returns:
- authorized
-
getName
@Nullable public String getName()
DBaaS plan name- Returns:
- name
-
getMaxMemoryPercent
@Nullable public Long getMaxMemoryPercent()
DBaaS plan max memory allocated percentage minimum: 0- Returns:
- maxMemoryPercent
-
getNodeMemory
@Nullable public Long getNodeMemory()
DBaaS plan memory count per node minimum: 0- Returns:
- nodeMemory
-
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
-
-