Class CfnMemory.IndexedKeyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.IndexedKeyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.IndexedKeyProperty>
- Enclosing interface:
CfnMemory.IndexedKeyProperty
@Stability(Stable)
public static final class CfnMemory.IndexedKeyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.IndexedKeyProperty>
A builder for
CfnMemory.IndexedKeyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMemory.IndexedKeyProperty.getKey()Sets the value ofCfnMemory.IndexedKeyProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnMemory.IndexedKeyProperty.getKey()- Parameters:
key- Key name for metadata fields. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnMemory.IndexedKeyProperty.getType()- Parameters:
type- Supported data types for metadata values. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.IndexedKeyProperty>- Returns:
- a new instance of
CfnMemory.IndexedKeyProperty - Throws:
NullPointerException- if any required attribute was not provided
-