Class CfnDBInstance.ProcessorFeatureProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBInstance.ProcessorFeatureProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBInstance.ProcessorFeatureProperty>
- Enclosing interface:
- CfnDBInstance.ProcessorFeatureProperty
@Stability(Stable)
public static final class CfnDBInstance.ProcessorFeatureProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBInstance.ProcessorFeatureProperty>
A builder for
CfnDBInstance.ProcessorFeatureProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDBInstance.ProcessorFeatureProperty.getName()
Sets the value ofCfnDBInstance.ProcessorFeatureProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDBInstance.ProcessorFeatureProperty.getName()
- Parameters:
name
- The name of the processor feature. Valid names arecoreCount
andthreadsPerCore
.- Returns:
this
-
value
Sets the value ofCfnDBInstance.ProcessorFeatureProperty.getValue()
- Parameters:
value
- The value of a processor feature name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBInstance.ProcessorFeatureProperty>
- Returns:
- a new instance of
CfnDBInstance.ProcessorFeatureProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-