Class CfnIndexPropsMixin.MappingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnIndexPropsMixin.MappingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin.MappingsProperty>
- Enclosing interface:
CfnIndexPropsMixin.MappingsProperty
@Stability(Stable)
public static final class CfnIndexPropsMixin.MappingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexPropsMixin.MappingsProperty>
A builder for
CfnIndexPropsMixin.MappingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.properties(Map<String, ? extends Object> properties) Sets the value ofCfnIndexPropsMixin.MappingsProperty.getProperties()properties(IResolvable properties) Sets the value ofCfnIndexPropsMixin.MappingsProperty.getProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
properties
@Stability(Stable) public CfnIndexPropsMixin.MappingsProperty.Builder properties(IResolvable properties) Sets the value ofCfnIndexPropsMixin.MappingsProperty.getProperties()- Parameters:
properties- Nested fields within an object or nested field type.- Returns:
this
-
properties
@Stability(Stable) public CfnIndexPropsMixin.MappingsProperty.Builder properties(Map<String, ? extends Object> properties) Sets the value ofCfnIndexPropsMixin.MappingsProperty.getProperties()- Parameters:
properties- Nested fields within an object or nested field type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexPropsMixin.MappingsProperty>- Returns:
- a new instance of
CfnIndexPropsMixin.MappingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-