Interface SpotPrice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpotPrice.Builder,
,SpotPrice> SdkBuilder<SpotPrice.Builder,
,SpotPrice> SdkPojo
- Enclosing class:
SpotPrice
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone.instanceType
(String instanceType) The instance type.instanceType
(InstanceType instanceType) The instance type.productDescription
(String productDescription) A general description of the AMI.productDescription
(RIProductDescription productDescription) A general description of the AMI.The maximum price per unit hour that you are willing to pay for a Spot Instance.The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
availabilityZone
The Availability Zone.
- Parameters:
availabilityZone
- The Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type.
- Parameters:
instanceType
- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type.
- Parameters:
instanceType
- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productDescription
A general description of the AMI.
- Parameters:
productDescription
- A general description of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productDescription
A general description of the AMI.
- Parameters:
productDescription
- A general description of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
timestamp
- The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-