Class CfnCollectionGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnCollectionGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionGroupMixinProps>
- Enclosing interface:
CfnCollectionGroupMixinProps
@Stability(Stable)
public static final class CfnCollectionGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionGroupMixinProps>
A builder for
CfnCollectionGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityLimits(CfnCollectionGroupPropsMixin.CapacityLimitsProperty capacityLimits) Sets the value ofCfnCollectionGroupMixinProps.getCapacityLimits()capacityLimits(IResolvable capacityLimits) Sets the value ofCfnCollectionGroupMixinProps.getCapacityLimits()description(String description) Sets the value ofCfnCollectionGroupMixinProps.getDescription()Sets the value ofCfnCollectionGroupMixinProps.getName()standbyReplicas(String standbyReplicas) Sets the value ofCfnCollectionGroupMixinProps.getStandbyReplicas()Sets the value ofCfnCollectionGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityLimits
@Stability(Stable) public CfnCollectionGroupMixinProps.Builder capacityLimits(IResolvable capacityLimits) Sets the value ofCfnCollectionGroupMixinProps.getCapacityLimits()- Parameters:
capacityLimits- the value to be set.- Returns:
this
-
capacityLimits
@Stability(Stable) public CfnCollectionGroupMixinProps.Builder capacityLimits(CfnCollectionGroupPropsMixin.CapacityLimitsProperty capacityLimits) Sets the value ofCfnCollectionGroupMixinProps.getCapacityLimits()- Parameters:
capacityLimits- the value to be set.- Returns:
this
-
description
Sets the value ofCfnCollectionGroupMixinProps.getDescription()- Parameters:
description- The description of the collection group.- Returns:
this
-
name
Sets the value ofCfnCollectionGroupMixinProps.getName()- Parameters:
name- The name of the collection group.- Returns:
this
-
standbyReplicas
@Stability(Stable) public CfnCollectionGroupMixinProps.Builder standbyReplicas(String standbyReplicas) Sets the value ofCfnCollectionGroupMixinProps.getStandbyReplicas()- Parameters:
standbyReplicas- Indicates whether standby replicas are used for the collection group.- Returns:
this
-
tags
Sets the value ofCfnCollectionGroupMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionGroupMixinProps>- Returns:
- a new instance of
CfnCollectionGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-