Interface CpuPerformanceFactorRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CpuPerformanceFactorRequest.Builder,,CpuPerformanceFactorRequest> SdkBuilder<CpuPerformanceFactorRequest.Builder,,CpuPerformanceFactorRequest> SdkPojo
- Enclosing class:
CpuPerformanceFactorRequest
-
Method Summary
Modifier and TypeMethodDescriptionreferences(Collection<PerformanceFactorReferenceRequest> references) Specify an instance family to use as the baseline reference for CPU performance.references(Consumer<PerformanceFactorReferenceRequest.Builder>... references) Specify an instance family to use as the baseline reference for CPU performance.references(PerformanceFactorReferenceRequest... references) Specify an instance family to use as the baseline reference for CPU performance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
references
CpuPerformanceFactorRequest.Builder references(Collection<PerformanceFactorReferenceRequest> 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
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
CpuPerformanceFactorRequest.Builder references(Consumer<PerformanceFactorReferenceRequest.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.
PerformanceFactorReferenceRequest.Builderavoiding the need to create one manually viaPerformanceFactorReferenceRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferences(List<PerformanceFactorReferenceRequest>).- Parameters:
references- a consumer that will call methods onPerformanceFactorReferenceRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-