Class InquiryPriceCreateInstanceRequest


  • public class InquiryPriceCreateInstanceRequest
    extends AbstractModel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getCurrency()
      Get 货币种类。取值范围: CNY:表示人民币。
      ExternalService[] getExternalService()
      Get 共用组件信息
      CustomMetaInfo getMetaDBInfo()
      Get 自定义MetaDB信息
      String getMetaType()
      Get hive共享元数据库类型。取值范围: EMR_NEW_META:表示集群默认创建 EMR_EXIT_METE:表示集群使用指定EMR-MetaDB。 USER_CUSTOM_META:表示集群使用自定义MetaDB。
      MultiZoneSetting[] getMultiZoneSettings()
      Get 可用区的规格信息
      Long getPayMode()
      Get 实例计费模式。取值范围: 0:表示按量计费。 1:表示包年包月。
      Placement getPlacement()
      Get 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
      Long getProductId()
      Get 产品ID,不同产品ID表示不同的EMR产品版本。取值范围: 1:表示EMR-V1.3.1。 2:表示EMR-V2.0.1。 4:表示EMR-V2.1.0。 7:表示EMR-V3.0.0。
      NewResourceSpec getResourceSpec()
      Get 询价的节点规格。
      String getSceneName()
      Get 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase
      String[] getSoftware()
      Get 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)需要选择不同的必选组件: ProductId为1的时候,必选组件包括:hadoop-2.7.3、knox-1.2.0、zookeeper-3.4.9 ProductId为2的时候,必选组件包括:hadoop-2.7.3、knox-1.2.0、zookeeper-3.4.9 ProductId为4的时候,必选组件包括:hadoop-2.8.4、knox-1.2.0、zookeeper-3.4.9 ProductId为7的时候,必选组件包括:hadoop-3.1.2、knox-1.2.0、zookeeper-3.4.9
      Long getSupportHA()
      Get 是否开启节点高可用。取值范围: 0:表示不开启节点高可用。 1:表示开启节点高可用。
      Long getTimeSpan()
      Get 购买实例的时长。结合TimeUnit一起使用。 TimeUnit为s时,该参数只能填写3600,表示按量计费实例。 TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
      String getTimeUnit()
      Get 购买实例的时间单位。取值范围: s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。 m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
      String getUnifyMetaInstanceId()
      Get EMR-MetaDB实例
      Long getVersionID()
      Get 当前默认值为0,跨AZ特性支持后为1
      VPCSettings getVPCSettings()
      Get 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。
      void setCurrency​(String Currency)
      Set 货币种类。取值范围: CNY:表示人民币。
      void setExternalService​(ExternalService[] ExternalService)
      Set 共用组件信息
      void setMetaDBInfo​(CustomMetaInfo MetaDBInfo)
      Set 自定义MetaDB信息
      void setMetaType​(String MetaType)
      Set hive共享元数据库类型。取值范围: EMR_NEW_META:表示集群默认创建 EMR_EXIT_METE:表示集群使用指定EMR-MetaDB。 USER_CUSTOM_META:表示集群使用自定义MetaDB。
      void setMultiZoneSettings​(MultiZoneSetting[] MultiZoneSettings)
      Set 可用区的规格信息
      void setPayMode​(Long PayMode)
      Set 实例计费模式。取值范围: 0:表示按量计费。 1:表示包年包月。
      void setPlacement​(Placement Placement)
      Set 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
      void setProductId​(Long ProductId)
      Set 产品ID,不同产品ID表示不同的EMR产品版本。取值范围: 1:表示EMR-V1.3.1。 2:表示EMR-V2.0.1。 4:表示EMR-V2.1.0。 7:表示EMR-V3.0.0。
      void setResourceSpec​(NewResourceSpec ResourceSpec)
      Set 询价的节点规格。
      void setSceneName​(String SceneName)
      Set 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase
      void setSoftware​(String[] Software)
      Set 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)需要选择不同的必选组件: ProductId为1的时候,必选组件包括:hadoop-2.7.3、knox-1.2.0、zookeeper-3.4.9 ProductId为2的时候,必选组件包括:hadoop-2.7.3、knox-1.2.0、zookeeper-3.4.9 ProductId为4的时候,必选组件包括:hadoop-2.8.4、knox-1.2.0、zookeeper-3.4.9 ProductId为7的时候,必选组件包括:hadoop-3.1.2、knox-1.2.0、zookeeper-3.4.9
      void setSupportHA​(Long SupportHA)
      Set 是否开启节点高可用。取值范围: 0:表示不开启节点高可用。 1:表示开启节点高可用。
      void setTimeSpan​(Long TimeSpan)
      Set 购买实例的时长。结合TimeUnit一起使用。 TimeUnit为s时,该参数只能填写3600,表示按量计费实例。 TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
      void setTimeUnit​(String TimeUnit)
      Set 购买实例的时间单位。取值范围: s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。 m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
      void setUnifyMetaInstanceId​(String UnifyMetaInstanceId)
      Set EMR-MetaDB实例
      void setVersionID​(Long VersionID)
      Set 当前默认值为0,跨AZ特性支持后为1
      void setVPCSettings​(VPCSettings VPCSettings)
      Set 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • InquiryPriceCreateInstanceRequest

        public InquiryPriceCreateInstanceRequest()
      • InquiryPriceCreateInstanceRequest

        public InquiryPriceCreateInstanceRequest​(InquiryPriceCreateInstanceRequest 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

      • getTimeUnit

        public String getTimeUnit()
        Get 购买实例的时间单位。取值范围:
      • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
      • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
Returns:
TimeUnit 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
  • Parameters:
    TimeUnit - 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。