Class CfnPromptVersionPropsMixin.CachePointBlockProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnPromptVersionPropsMixin.CachePointBlockProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptVersionPropsMixin.CachePointBlockProperty>
- Enclosing interface:
CfnPromptVersionPropsMixin.CachePointBlockProperty
@Stability(Stable)
public static final class CfnPromptVersionPropsMixin.CachePointBlockProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptVersionPropsMixin.CachePointBlockProperty>
A builder for
CfnPromptVersionPropsMixin.CachePointBlockProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPromptVersionPropsMixin.CachePointBlockProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnPromptVersionPropsMixin.CachePointBlockProperty.Builder type(String type) Sets the value ofCfnPromptVersionPropsMixin.CachePointBlockProperty.getType()- Parameters:
type- Specifies the type of cache point within the CachePointBlock.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptVersionPropsMixin.CachePointBlockProperty>- Returns:
- a new instance of
CfnPromptVersionPropsMixin.CachePointBlockProperty - Throws:
NullPointerException- if any required attribute was not provided
-