Class CfnCollectionIndexMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnCollectionIndexMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionIndexMixinProps>
- Enclosing interface:
CfnCollectionIndexMixinProps
@Stability(Stable)
public static final class CfnCollectionIndexMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionIndexMixinProps>
A builder for
CfnCollectionIndexMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCollectionIndexMixinProps.getId()Sets the value ofCfnCollectionIndexMixinProps.getIndexName()indexSchema(String indexSchema) Sets the value ofCfnCollectionIndexMixinProps.getIndexSchema()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnCollectionIndexMixinProps.getId()- Parameters:
id- The identifier of the collection.- Returns:
this
-
indexName
Sets the value ofCfnCollectionIndexMixinProps.getIndexName()- Parameters:
indexName- The name of the collection index.- Returns:
this
-
indexSchema
Sets the value ofCfnCollectionIndexMixinProps.getIndexSchema()- Parameters:
indexSchema- The Mappings for the collection index.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionIndexMixinProps>- Returns:
- a new instance of
CfnCollectionIndexMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-