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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ESInstanceDetails.BuildercurrentGeneration(Boolean currentGeneration)Determines whether the recommendation is for a current-generation instance.ESInstanceDetails.BuilderinstanceClass(String instanceClass)The class of instance that Amazon Web Services recommends.ESInstanceDetails.BuilderinstanceSize(String instanceSize)The size of instance that Amazon Web Services recommends.ESInstanceDetails.Builderregion(String region)The Amazon Web Services Region of the recommended reservation.ESInstanceDetails.BuildersizeFlexEligible(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 Detail
-
instanceClass
ESInstanceDetails.Builder instanceClass(String 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
ESInstanceDetails.Builder instanceSize(String 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
ESInstanceDetails.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.
-
currentGeneration
ESInstanceDetails.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
ESInstanceDetails.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.
-
-