Class ClassInfo

    • Constructor Detail

      • ClassInfo

        public ClassInfo()
      • ClassInfo

        public ClassInfo​(ClassInfo source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getSpecCode

        public String getSpecCode()
        Get 规格ID
        Returns:
        SpecCode 规格ID
      • setSpecCode

        public void setSpecCode​(String SpecCode)
        Set 规格ID
        Parameters:
        SpecCode - 规格ID
      • getCPU

        public Long getCPU()
        Get CPU核数
        Returns:
        CPU CPU核数
      • setCPU

        public void setCPU​(Long CPU)
        Set CPU核数
        Parameters:
        CPU - CPU核数
      • getMemory

        public Long getMemory()
        Get 内存大小,单位:MB
        Returns:
        Memory 内存大小,单位:MB
      • setMemory

        public void setMemory​(Long Memory)
        Set 内存大小,单位:MB
        Parameters:
        Memory - 内存大小,单位:MB
      • getMaxStorage

        public Long getMaxStorage()
        Get 该规格所支持最大存储容量,单位:GB
        Returns:
        MaxStorage 该规格所支持最大存储容量,单位:GB
      • setMaxStorage

        public void setMaxStorage​(Long MaxStorage)
        Set 该规格所支持最大存储容量,单位:GB
        Parameters:
        MaxStorage - 该规格所支持最大存储容量,单位:GB
      • getMinStorage

        public Long getMinStorage()
        Get 该规格所支持最小存储容量,单位:GB
        Returns:
        MinStorage 该规格所支持最小存储容量,单位:GB
      • setMinStorage

        public void setMinStorage​(Long MinStorage)
        Set 该规格所支持最小存储容量,单位:GB
        Parameters:
        MinStorage - 该规格所支持最小存储容量,单位:GB
      • getQPS

        public Long getQPS()
        Get 该规格的预估QPS
        Returns:
        QPS 该规格的预估QPS
      • setQPS

        public void setQPS​(Long QPS)
        Set 该规格的预估QPS
        Parameters:
        QPS - 该规格的预估QPS