Class CreateSpotDeviceRequest

    • Constructor Detail

      • CreateSpotDeviceRequest

        public CreateSpotDeviceRequest()
      • CreateSpotDeviceRequest

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

      • getZone

        public String getZone()
        Get 可用区名称。如ap-guangzhou-bls-1, 通过DescribeRegions获取
        Returns:
        Zone 可用区名称。如ap-guangzhou-bls-1, 通过DescribeRegions获取
      • setZone

        public void setZone​(String Zone)
        Set 可用区名称。如ap-guangzhou-bls-1, 通过DescribeRegions获取
        Parameters:
        Zone - 可用区名称。如ap-guangzhou-bls-1, 通过DescribeRegions获取
      • getComputeType

        public String getComputeType()
        Get 计算单元类型, 如v3.c2.medium,更详细的ComputeType参考[竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)
        Returns:
        ComputeType 计算单元类型, 如v3.c2.medium,更详细的ComputeType参考[竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)
      • setComputeType

        public void setComputeType​(String ComputeType)
        Set 计算单元类型, 如v3.c2.medium,更详细的ComputeType参考[竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)
        Parameters:
        ComputeType - 计算单元类型, 如v3.c2.medium,更详细的ComputeType参考[竞价实例产品文档](https://cloud.tencent.com/document/product/386/30256)
      • getOsTypeId

        public Long getOsTypeId()
        Get 操作系统类型ID
        Returns:
        OsTypeId 操作系统类型ID
      • setOsTypeId

        public void setOsTypeId​(Long OsTypeId)
        Set 操作系统类型ID
        Parameters:
        OsTypeId - 操作系统类型ID
      • getVpcId

        public String getVpcId()
        Get 私有网络ID
        Returns:
        VpcId 私有网络ID
      • setVpcId

        public void setVpcId​(String VpcId)
        Set 私有网络ID
        Parameters:
        VpcId - 私有网络ID
      • getSubnetId

        public String getSubnetId()
        Get 子网ID
        Returns:
        SubnetId 子网ID
      • setSubnetId

        public void setSubnetId​(String SubnetId)
        Set 子网ID
        Parameters:
        SubnetId - 子网ID
      • getGoodsNum

        public Long getGoodsNum()
        Get 购买的计算单元个数
        Returns:
        GoodsNum 购买的计算单元个数
      • setGoodsNum

        public void setGoodsNum​(Long GoodsNum)
        Set 购买的计算单元个数
        Parameters:
        GoodsNum - 购买的计算单元个数
      • getSpotStrategy

        public String getSpotStrategy()
        Get 出价策略。可取值为SpotWithPriceLimit和SpotAsPriceGo。SpotWithPriceLimit,用户设置价格上限,需要传SpotPriceLimit参数, 如果市场价高于用户的指定价格,则购买不成功; SpotAsPriceGo 是随市场价的策略。
        Returns:
        SpotStrategy 出价策略。可取值为SpotWithPriceLimit和SpotAsPriceGo。SpotWithPriceLimit,用户设置价格上限,需要传SpotPriceLimit参数, 如果市场价高于用户的指定价格,则购买不成功; SpotAsPriceGo 是随市场价的策略。
      • setSpotStrategy

        public void setSpotStrategy​(String SpotStrategy)
        Set 出价策略。可取值为SpotWithPriceLimit和SpotAsPriceGo。SpotWithPriceLimit,用户设置价格上限,需要传SpotPriceLimit参数, 如果市场价高于用户的指定价格,则购买不成功; SpotAsPriceGo 是随市场价的策略。
        Parameters:
        SpotStrategy - 出价策略。可取值为SpotWithPriceLimit和SpotAsPriceGo。SpotWithPriceLimit,用户设置价格上限,需要传SpotPriceLimit参数, 如果市场价高于用户的指定价格,则购买不成功; SpotAsPriceGo 是随市场价的策略。
      • getSpotPriceLimit

        public Float getSpotPriceLimit()
        Get 用户设置的价格。当为SpotWithPriceLimit竞价策略时有效
        Returns:
        SpotPriceLimit 用户设置的价格。当为SpotWithPriceLimit竞价策略时有效
      • setSpotPriceLimit

        public void setSpotPriceLimit​(Float SpotPriceLimit)
        Set 用户设置的价格。当为SpotWithPriceLimit竞价策略时有效
        Parameters:
        SpotPriceLimit - 用户设置的价格。当为SpotWithPriceLimit竞价策略时有效
      • getPasswd

        public String getPasswd()
        Get 设置竞价实例密码。可选参数,没有指定会生成随机密码
        Returns:
        Passwd 设置竞价实例密码。可选参数,没有指定会生成随机密码
      • setPasswd

        public void setPasswd​(String Passwd)
        Set 设置竞价实例密码。可选参数,没有指定会生成随机密码
        Parameters:
        Passwd - 设置竞价实例密码。可选参数,没有指定会生成随机密码