Class NeptuneClusterServerlessV2ScalingConfiguration.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.neptune_cluster.NeptuneClusterServerlessV2ScalingConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NeptuneClusterServerlessV2ScalingConfiguration>
- Enclosing interface:
- NeptuneClusterServerlessV2ScalingConfiguration
@Stability(Stable) public static final class NeptuneClusterServerlessV2ScalingConfiguration.Builder extends Object implements software.amazon.jsii.Builder<NeptuneClusterServerlessV2ScalingConfiguration>
A builder forNeptuneClusterServerlessV2ScalingConfiguration
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NeptuneClusterServerlessV2ScalingConfigurationbuild()Builds the configured instance.NeptuneClusterServerlessV2ScalingConfiguration.BuildermaxCapacity(Number maxCapacity)Sets the value ofNeptuneClusterServerlessV2ScalingConfiguration.getMaxCapacity()NeptuneClusterServerlessV2ScalingConfiguration.BuilderminCapacity(Number minCapacity)Sets the value ofNeptuneClusterServerlessV2ScalingConfiguration.getMinCapacity()
-
-
-
Method Detail
-
maxCapacity
@Stability(Stable) public NeptuneClusterServerlessV2ScalingConfiguration.Builder maxCapacity(Number maxCapacity)
Sets the value ofNeptuneClusterServerlessV2ScalingConfiguration.getMaxCapacity()- Parameters:
maxCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#max_capacity NeptuneCluster#max_capacity}.- Returns:
this
-
minCapacity
@Stability(Stable) public NeptuneClusterServerlessV2ScalingConfiguration.Builder minCapacity(Number minCapacity)
Sets the value ofNeptuneClusterServerlessV2ScalingConfiguration.getMinCapacity()- Parameters:
minCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#min_capacity NeptuneCluster#min_capacity}.- Returns:
this
-
build
@Stability(Stable) public NeptuneClusterServerlessV2ScalingConfiguration build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NeptuneClusterServerlessV2ScalingConfiguration>- Returns:
- a new instance of
NeptuneClusterServerlessV2ScalingConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-
-