Class SpotMarketOptions
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.SpotMarketOptions
-
public class SpotMarketOptions extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SpotMarketOptions()SpotMarketOptions(SpotMarketOptions 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMaxPrice()Get 竞价出价StringgetSpotInstanceType()Get 竞价请求类型,当前仅支持类型:one-timevoidsetMaxPrice(String MaxPrice)Set 竞价出价voidsetSpotInstanceType(String SpotInstanceType)Set 竞价请求类型,当前仅支持类型:one-timevoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SpotMarketOptions
public SpotMarketOptions()
-
SpotMarketOptions
public SpotMarketOptions(SpotMarketOptions 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
-
getMaxPrice
public String getMaxPrice()
Get 竞价出价- Returns:
- MaxPrice 竞价出价
-
setMaxPrice
public void setMaxPrice(String MaxPrice)
Set 竞价出价- Parameters:
MaxPrice- 竞价出价
-
getSpotInstanceType
public String getSpotInstanceType()
Get 竞价请求类型,当前仅支持类型:one-time- Returns:
- SpotInstanceType 竞价请求类型,当前仅支持类型:one-time
-
setSpotInstanceType
public void setSpotInstanceType(String SpotInstanceType)
Set 竞价请求类型,当前仅支持类型:one-time- Parameters:
SpotInstanceType- 竞价请求类型,当前仅支持类型:one-time
-
-