public static interface SpotPrice.Builder extends SdkPojo, CopyableBuilder<SpotPrice.Builder,SpotPrice>
| Modifier and Type | Method and Description |
|---|---|
SpotPrice.Builder |
availabilityZone(String availabilityZone)
The Availability Zone.
|
SpotPrice.Builder |
instanceType(InstanceType instanceType)
The instance type.
|
SpotPrice.Builder |
instanceType(String instanceType)
The instance type.
|
SpotPrice.Builder |
productDescription(RIProductDescription productDescription)
A general description of the AMI.
|
SpotPrice.Builder |
productDescription(String productDescription)
A general description of the AMI.
|
SpotPrice.Builder |
spotPrice(String spotPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance.
|
SpotPrice.Builder |
timestamp(Instant timestamp)
The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSpotPrice.Builder availabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone - The Availability Zone.SpotPrice.Builder instanceType(String instanceType)
The instance type.
instanceType - The instance type.InstanceType,
InstanceTypeSpotPrice.Builder instanceType(InstanceType instanceType)
The instance type.
instanceType - The instance type.InstanceType,
InstanceTypeSpotPrice.Builder productDescription(String productDescription)
A general description of the AMI.
productDescription - A general description of the AMI.RIProductDescription,
RIProductDescriptionSpotPrice.Builder productDescription(RIProductDescription productDescription)
A general description of the AMI.
productDescription - A general description of the AMI.RIProductDescription,
RIProductDescriptionSpotPrice.Builder spotPrice(String spotPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
spotPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
using this parameter because it can lead to increased interruptions. If you do not specify this
parameter, you will pay the current Spot price. If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
SpotPrice.Builder timestamp(Instant timestamp)
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
timestamp - The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).Copyright © 2023. All rights reserved.