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 Details

  • Constructor Details

    • DbaasPlan

      public DbaasPlan()
    • DbaasPlan

      public DbaasPlan(Long nodeCount, Long nodeCpuCount, Long diskSpace, Boolean authorized, String name, Long maxMemoryPercent, Long nodeMemory)
  • Method Details

    • 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
    • family

      public DbaasPlan family(String family)
    • 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
    • zones

      public DbaasPlan zones(List<String> zones)
    • addZonesItem

      public DbaasPlan addZonesItem(String zonesItem)
    • getZones

      @Nullable public List<String> getZones()
      Zones where the plan is available
      Returns:
      zones
    • setZones

      public void setZones(List<String> zones)
    • 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.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string