Interface CpuPerformanceFactor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CpuPerformanceFactor.Builder,CpuPerformanceFactor>,SdkBuilder<CpuPerformanceFactor.Builder,CpuPerformanceFactor>,SdkPojo
- Enclosing class:
- CpuPerformanceFactor
@Mutable @NotThreadSafe public static interface CpuPerformanceFactor.Builder extends SdkPojo, CopyableBuilder<CpuPerformanceFactor.Builder,CpuPerformanceFactor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CpuPerformanceFactor.Builderreferences(Collection<PerformanceFactorReference> references)Specify an instance family to use as the baseline reference for CPU performance.CpuPerformanceFactor.Builderreferences(Consumer<PerformanceFactorReference.Builder>... references)Specify an instance family to use as the baseline reference for CPU performance.CpuPerformanceFactor.Builderreferences(PerformanceFactorReference... references)Specify an instance family to use as the baseline reference for CPU performance.-
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
-
references
CpuPerformanceFactor.Builder references(Collection<PerformanceFactorReference> references)
Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
Currently, only one instance family can be specified in the list.
- Parameters:
references- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.Currently, only one instance family can be specified in the list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
references
CpuPerformanceFactor.Builder references(PerformanceFactorReference... references)
Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
Currently, only one instance family can be specified in the list.
- Parameters:
references- Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.Currently, only one instance family can be specified in the list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
references
CpuPerformanceFactor.Builder references(Consumer<PerformanceFactorReference.Builder>... references)
Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
This is a convenience method that creates an instance of theCurrently, only one instance family can be specified in the list.
PerformanceFactorReference.Builderavoiding the need to create one manually viaPerformanceFactorReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#references(List.) - Parameters:
references- a consumer that will call methods onPerformanceFactorReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#references(java.util.Collection)
-
-