Class CfnCollectionGroup.CapacityLimitsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnCollectionGroup.CapacityLimitsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionGroup.CapacityLimitsProperty>
- Enclosing interface:
CfnCollectionGroup.CapacityLimitsProperty
@Stability(Stable)
public static final class CfnCollectionGroup.CapacityLimitsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionGroup.CapacityLimitsProperty>
A builder for
CfnCollectionGroup.CapacityLimitsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxIndexingCapacityInOcu(Number maxIndexingCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMaxIndexingCapacityInOcu()maxSearchCapacityInOcu(Number maxSearchCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMaxSearchCapacityInOcu()minIndexingCapacityInOcu(Number minIndexingCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMinIndexingCapacityInOcu()minSearchCapacityInOcu(Number minSearchCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMinSearchCapacityInOcu()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxIndexingCapacityInOcu
@Stability(Stable) public CfnCollectionGroup.CapacityLimitsProperty.Builder maxIndexingCapacityInOcu(Number maxIndexingCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMaxIndexingCapacityInOcu()- Parameters:
maxIndexingCapacityInOcu- The maximum indexing capacity for collections in the group.- Returns:
this
-
maxSearchCapacityInOcu
@Stability(Stable) public CfnCollectionGroup.CapacityLimitsProperty.Builder maxSearchCapacityInOcu(Number maxSearchCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMaxSearchCapacityInOcu()- Parameters:
maxSearchCapacityInOcu- The maximum search capacity for collections in the group.- Returns:
this
-
minIndexingCapacityInOcu
@Stability(Stable) public CfnCollectionGroup.CapacityLimitsProperty.Builder minIndexingCapacityInOcu(Number minIndexingCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMinIndexingCapacityInOcu()- Parameters:
minIndexingCapacityInOcu- The minimum indexing capacity for collections in the group.- Returns:
this
-
minSearchCapacityInOcu
@Stability(Stable) public CfnCollectionGroup.CapacityLimitsProperty.Builder minSearchCapacityInOcu(Number minSearchCapacityInOcu) Sets the value ofCfnCollectionGroup.CapacityLimitsProperty.getMinSearchCapacityInOcu()- Parameters:
minSearchCapacityInOcu- The minimum search capacity for collections in the group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionGroup.CapacityLimitsProperty>- Returns:
- a new instance of
CfnCollectionGroup.CapacityLimitsProperty - Throws:
NullPointerException- if any required attribute was not provided
-