Interface EC2InstanceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EC2InstanceDetails.Builder,
,EC2InstanceDetails> SdkBuilder<EC2InstanceDetails.Builder,
,EC2InstanceDetails> SdkPojo
- Enclosing class:
EC2InstanceDetails
public static interface EC2InstanceDetails.Builder
extends SdkPojo, CopyableBuilder<EC2InstanceDetails.Builder,EC2InstanceDetails>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone of the recommended reservation.currentGeneration
(Boolean currentGeneration) Determines whether the recommendation is for a current-generation instance.The instance family of the recommended reservation.instanceType
(String instanceType) The type of instance that Amazon Web Services recommends.The platform of the recommended reservation.The Amazon Web Services Region of the recommended reservation.sizeFlexEligible
(Boolean sizeFlexEligible) Determines whether the recommended reservation is size flexible.Determines whether the recommended reservation is dedicated or shared.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
-
family
The instance family of the recommended reservation.
- Parameters:
family
- The instance family of the recommended reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The type of instance that Amazon Web Services recommends.
- Parameters:
instanceType
- The type of instance that Amazon Web Services recommends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region of the recommended reservation.
- Parameters:
region
- The Amazon Web Services Region of the recommended reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the recommended reservation.
- Parameters:
availabilityZone
- The Availability Zone of the recommended reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
- Parameters:
platform
- The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
Determines whether the recommended reservation is dedicated or shared.
- Parameters:
tenancy
- Determines whether the recommended reservation is dedicated or shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentGeneration
Determines whether the recommendation is for a current-generation instance.
- Parameters:
currentGeneration
- Determines whether the recommendation is for a current-generation instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeFlexEligible
Determines whether the recommended reservation is size flexible.
- Parameters:
sizeFlexEligible
- Determines whether the recommended reservation is size flexible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-