Interface BaselinePerformanceFactorsRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BaselinePerformanceFactorsRequest.Builder,BaselinePerformanceFactorsRequest>,SdkBuilder<BaselinePerformanceFactorsRequest.Builder,BaselinePerformanceFactorsRequest>,SdkPojo
- Enclosing class:
- BaselinePerformanceFactorsRequest
@Mutable @NotThreadSafe public static interface BaselinePerformanceFactorsRequest.Builder extends SdkPojo, CopyableBuilder<BaselinePerformanceFactorsRequest.Builder,BaselinePerformanceFactorsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BaselinePerformanceFactorsRequest.Buildercpu(Consumer<CpuPerformanceFactorRequest.Builder> cpu)The CPU performance to consider, using an instance family as the baseline reference.BaselinePerformanceFactorsRequest.Buildercpu(CpuPerformanceFactorRequest cpu)The CPU performance to consider, using an instance family as the baseline reference.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cpu
BaselinePerformanceFactorsRequest.Builder cpu(CpuPerformanceFactorRequest cpu)
The CPU performance to consider, using an instance family as the baseline reference.
- Parameters:
cpu- The CPU performance to consider, using an instance family as the baseline reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpu
default BaselinePerformanceFactorsRequest.Builder cpu(Consumer<CpuPerformanceFactorRequest.Builder> cpu)
The CPU performance to consider, using an instance family as the baseline reference.
This is a convenience method that creates an instance of theCpuPerformanceFactorRequest.Builderavoiding the need to create one manually viaCpuPerformanceFactorRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocpu(CpuPerformanceFactorRequest).- Parameters:
cpu- a consumer that will call methods onCpuPerformanceFactorRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cpu(CpuPerformanceFactorRequest)
-
-