Class SpotMarketOptions
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.as.v20180419.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 竞价出价,例如“1.05”StringgetSpotInstanceType()Get 竞价请求类型,当前仅支持类型:one-time,默认值为one-time 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxPrice(String MaxPrice)Set 竞价出价,例如“1.05”voidsetSpotInstanceType(String SpotInstanceType)Set 竞价请求类型,当前仅支持类型:one-time,默认值为one-time 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(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 竞价出价,例如“1.05”- Returns:
- MaxPrice 竞价出价,例如“1.05”
-
setMaxPrice
public void setMaxPrice(String MaxPrice)
Set 竞价出价,例如“1.05”- Parameters:
MaxPrice- 竞价出价,例如“1.05”
-
getSpotInstanceType
public String getSpotInstanceType()
Get 竞价请求类型,当前仅支持类型:one-time,默认值为one-time 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SpotInstanceType 竞价请求类型,当前仅支持类型:one-time,默认值为one-time 注意:此字段可能返回 null,表示取不到有效值。
-
setSpotInstanceType
public void setSpotInstanceType(String SpotInstanceType)
Set 竞价请求类型,当前仅支持类型:one-time,默认值为one-time 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SpotInstanceType- 竞价请求类型,当前仅支持类型:one-time,默认值为one-time 注意:此字段可能返回 null,表示取不到有效值。
-
-