Class DbaasPlan


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class DbaasPlan
    extends Object
    DBaaS plan
    • Constructor Detail

      • DbaasPlan

        public DbaasPlan()
    • Method Detail

      • getNodeCount

        @Nullable
        public Long getNodeCount()
        DBaaS plan node count minimum: 0
        Returns:
        nodeCount
      • getBackupConfig

        @Nullable
        public DbaasBackupConfig getBackupConfig()
        Get backupConfig
        Returns:
        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
      • 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
      • 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