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