Interface CpuPerformanceFactorRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CpuPerformanceFactorRequest.Builder,CpuPerformanceFactorRequest>
,SdkBuilder<CpuPerformanceFactorRequest.Builder,CpuPerformanceFactorRequest>
,SdkPojo
- Enclosing class:
- CpuPerformanceFactorRequest
public static interface CpuPerformanceFactorRequest.Builder extends SdkPojo, CopyableBuilder<CpuPerformanceFactorRequest.Builder,CpuPerformanceFactorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CpuPerformanceFactorRequest.Builder
references(Collection<PerformanceFactorReferenceRequest> references)
Specify an instance family to use as the baseline reference for CPU performance.CpuPerformanceFactorRequest.Builder
references(Consumer<PerformanceFactorReferenceRequest.Builder>... references)
Specify an instance family to use as the baseline reference for CPU performance.CpuPerformanceFactorRequest.Builder
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
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
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
CpuPerformanceFactorRequest.Builder references(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
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.
Currently, only one instance family can be specified in the list.
PerformanceFactorReferenceRequest.Builder
avoiding the need to create one manually viaPerformanceFactorReferenceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#references(List
.) - 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:
#references(java.util.Collection
)
-
-