Class CfnCollectionGroup.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnCollectionGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionGroup>
- Enclosing class:
CfnCollectionGroup
@Stability(Stable)
public static final class CfnCollectionGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionGroup>
A fluent builder for
CfnCollectionGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capacityLimits(IResolvable capacityLimits) capacityLimits(CfnCollectionGroup.CapacityLimitsProperty capacityLimits) static CfnCollectionGroup.Builderdescription(String description) The description of the collection group.The name of the collection group.standbyReplicas(String standbyReplicas) Indicates whether standby replicas are used for the collection group.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnCollectionGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCollectionGroup.Builder.
-
name
The name of the collection group.- Parameters:
name- The name of the collection group. This parameter is required.- Returns:
this- See Also:
-
standbyReplicas
Indicates whether standby replicas are used for the collection group.- Parameters:
standbyReplicas- Indicates whether standby replicas are used for the collection group. This parameter is required.- Returns:
this- See Also:
-
capacityLimits
- Parameters:
capacityLimits- This parameter is required.- Returns:
this- See Also:
-
capacityLimits
@Stability(Stable) public CfnCollectionGroup.Builder capacityLimits(CfnCollectionGroup.CapacityLimitsProperty capacityLimits) - Parameters:
capacityLimits- This parameter is required.- Returns:
this- See Also:
-
description
The description of the collection group.- Parameters:
description- The description of the collection group. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionGroup>- Returns:
- a newly built instance of
CfnCollectionGroup.
-