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
Modifier and TypeMethodDescriptionThe CPU performance to consider, using an instance family as the baseline reference.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 Details
-
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.Builder
avoiding the need to create one manually viaCpuPerformanceFactorRequest.builder()
.When the
Consumer
completes,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:
-