Class CfnCollectionIndex.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnCollectionIndex.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionIndex>
- Enclosing class:
CfnCollectionIndex
@Stability(Stable)
public static final class CfnCollectionIndex.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionIndex>
A fluent builder for
CfnCollectionIndex.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnCollectionIndex.BuilderThe identifier of the collection.The name of the collection index.indexSchema(String indexSchema) The Mappings for the collection index.
-
Method Details
-
create
@Stability(Stable) public static CfnCollectionIndex.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
CfnCollectionIndex.Builder.
-
id
The identifier of the collection.- Parameters:
id- The identifier of the collection. This parameter is required.- Returns:
this- See Also:
-
indexName
The name of the collection index.- Parameters:
indexName- The name of the collection index. This parameter is required.- Returns:
this- See Also:
-
indexSchema
The Mappings for the collection index.- Parameters:
indexSchema- The Mappings for the collection index. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionIndex>- Returns:
- a newly built instance of
CfnCollectionIndex.
-