Class CfnServerlessCachePropsMixin.ECPUPerSecondProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnServerlessCachePropsMixin.ECPUPerSecondProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessCachePropsMixin.ECPUPerSecondProperty>
- Enclosing interface:
CfnServerlessCachePropsMixin.ECPUPerSecondProperty
@Stability(Stable)
public static final class CfnServerlessCachePropsMixin.ECPUPerSecondProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessCachePropsMixin.ECPUPerSecondProperty>
A builder for
CfnServerlessCachePropsMixin.ECPUPerSecondProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServerlessCachePropsMixin.ECPUPerSecondProperty.getMaximum()Sets the value ofCfnServerlessCachePropsMixin.ECPUPerSecondProperty.getMinimum()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximum
@Stability(Stable) public CfnServerlessCachePropsMixin.ECPUPerSecondProperty.Builder maximum(Number maximum) Sets the value ofCfnServerlessCachePropsMixin.ECPUPerSecondProperty.getMaximum()- Parameters:
maximum- The configuration for the maximum number of ECPUs the cache can consume per second.- Returns:
this
-
minimum
@Stability(Stable) public CfnServerlessCachePropsMixin.ECPUPerSecondProperty.Builder minimum(Number minimum) Sets the value ofCfnServerlessCachePropsMixin.ECPUPerSecondProperty.getMinimum()- Parameters:
minimum- The configuration for the minimum number of ECPUs the cache should be able consume per second.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerlessCachePropsMixin.ECPUPerSecondProperty>- Returns:
- a new instance of
CfnServerlessCachePropsMixin.ECPUPerSecondProperty - Throws:
NullPointerException- if any required attribute was not provided
-