Interface ESInstanceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ESInstanceDetails.Builder,
,ESInstanceDetails> SdkBuilder<ESInstanceDetails.Builder,
,ESInstanceDetails> SdkPojo
- Enclosing class:
ESInstanceDetails
public static interface ESInstanceDetails.Builder
extends SdkPojo, CopyableBuilder<ESInstanceDetails.Builder,ESInstanceDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentGeneration
(Boolean currentGeneration) Determines whether the recommendation is for a current-generation instance.instanceClass
(String instanceClass) The class of instance that Amazon Web Services recommends.instanceSize
(String instanceSize) The size of instance that Amazon Web Services recommends.The Amazon Web Services Region of the recommended reservation.sizeFlexEligible
(Boolean sizeFlexEligible) Determines whether the recommended reservation is size flexible.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
-
instanceClass
The class of instance that Amazon Web Services recommends.
- Parameters:
instanceClass
- The class of instance that Amazon Web Services recommends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceSize
The size of instance that Amazon Web Services recommends.
- Parameters:
instanceSize
- The size 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.
-
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.
-