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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EC2InstanceDetails.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the recommended reservation.EC2InstanceDetails.BuildercurrentGeneration(Boolean currentGeneration)Determines whether the recommendation is for a current-generation instance.EC2InstanceDetails.Builderfamily(String family)The instance family of the recommended reservation.EC2InstanceDetails.BuilderinstanceType(String instanceType)The type of instance that Amazon Web Services recommends.EC2InstanceDetails.Builderplatform(String platform)The platform of the recommended reservation.EC2InstanceDetails.Builderregion(String region)The Amazon Web Services Region of the recommended reservation.EC2InstanceDetails.BuildersizeFlexEligible(Boolean sizeFlexEligible)Determines whether the recommended reservation is size flexible.EC2InstanceDetails.Buildertenancy(String tenancy)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 Detail
-
family
EC2InstanceDetails.Builder family(String 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
EC2InstanceDetails.Builder instanceType(String 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
EC2InstanceDetails.Builder region(String 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
EC2InstanceDetails.Builder availabilityZone(String 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
EC2InstanceDetails.Builder platform(String 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
EC2InstanceDetails.Builder tenancy(String 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
EC2InstanceDetails.Builder currentGeneration(Boolean 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
EC2InstanceDetails.Builder sizeFlexEligible(Boolean 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.
-
-