Class ProcessorFeatures.Builder
java.lang.Object
software.amazon.awscdk.services.rds.ProcessorFeatures.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProcessorFeatures>
- Enclosing interface:
- ProcessorFeatures
@Stability(Stable)
public static final class ProcessorFeatures.Builder
extends Object
implements software.amazon.jsii.Builder<ProcessorFeatures>
A builder for
ProcessorFeatures
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofProcessorFeatures.getCoreCount()
threadsPerCore
(Number threadsPerCore) Sets the value ofProcessorFeatures.getThreadsPerCore()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreCount
Sets the value ofProcessorFeatures.getCoreCount()
- Parameters:
coreCount
- The number of CPU core.- Returns:
this
-
threadsPerCore
Sets the value ofProcessorFeatures.getThreadsPerCore()
- Parameters:
threadsPerCore
- The number of threads per core.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ProcessorFeatures>
- Returns:
- a new instance of
ProcessorFeatures
- Throws:
NullPointerException
- if any required attribute was not provided
-