public class SpotMixedAllocationPolicy extends AbstractModel
| Constructor and Description |
|---|
SpotMixedAllocationPolicy() |
SpotMixedAllocationPolicy(SpotMixedAllocationPolicy 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.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getBaseCapacity()
Get
|
Boolean |
getCompensateWithBaseInstance()
Get
|
Long |
getOnDemandPercentageAboveBaseCapacity()
Get
|
String |
getSpotAllocationStrategy()
Get
|
void |
setBaseCapacity(Long BaseCapacity)
Set
|
void |
setCompensateWithBaseInstance(Boolean CompensateWithBaseInstance)
Set
|
void |
setOnDemandPercentageAboveBaseCapacity(Long OnDemandPercentageAboveBaseCapacity)
Set
|
void |
setSpotAllocationStrategy(String SpotAllocationStrategy)
Set
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic SpotMixedAllocationPolicy()
public SpotMixedAllocationPolicy(SpotMixedAllocationPolicy source)
public Long getBaseCapacity()
public void setBaseCapacity(Long BaseCapacity)
BaseCapacity - public Long getOnDemandPercentageAboveBaseCapacity()
public void setOnDemandPercentageAboveBaseCapacity(Long OnDemandPercentageAboveBaseCapacity)
OnDemandPercentageAboveBaseCapacity - public String getSpotAllocationStrategy()
public void setSpotAllocationStrategy(String SpotAllocationStrategy)
SpotAllocationStrategy - public Boolean getCompensateWithBaseInstance()
public void setCompensateWithBaseInstance(Boolean CompensateWithBaseInstance)
CompensateWithBaseInstance - Copyright © 2021. All rights reserved.