Class CfnPromptVersionPropsMixin.SystemContentBlockProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptVersionPropsMixin.SystemContentBlockProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptVersionPropsMixin.SystemContentBlockProperty>
- Enclosing interface:
CfnPromptVersionPropsMixin.SystemContentBlockProperty
@Stability(Stable)
public static final class CfnPromptVersionPropsMixin.SystemContentBlockProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptVersionPropsMixin.SystemContentBlockProperty>
A builder for
CfnPromptVersionPropsMixin.SystemContentBlockProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPromptVersionPropsMixin.SystemContentBlockProperty.getCachePoint()cachePoint(IResolvable cachePoint) Sets the value ofCfnPromptVersionPropsMixin.SystemContentBlockProperty.getCachePoint()Sets the value ofCfnPromptVersionPropsMixin.SystemContentBlockProperty.getText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cachePoint
@Stability(Stable) public CfnPromptVersionPropsMixin.SystemContentBlockProperty.Builder cachePoint(IResolvable cachePoint) Sets the value ofCfnPromptVersionPropsMixin.SystemContentBlockProperty.getCachePoint()- Parameters:
cachePoint- CachePoint to include in the system prompt.- Returns:
this
-
cachePoint
@Stability(Stable) public CfnPromptVersionPropsMixin.SystemContentBlockProperty.Builder cachePoint(CfnPromptVersionPropsMixin.CachePointBlockProperty cachePoint) Sets the value ofCfnPromptVersionPropsMixin.SystemContentBlockProperty.getCachePoint()- Parameters:
cachePoint- CachePoint to include in the system prompt.- Returns:
this
-
text
@Stability(Stable) public CfnPromptVersionPropsMixin.SystemContentBlockProperty.Builder text(String text) Sets the value ofCfnPromptVersionPropsMixin.SystemContentBlockProperty.getText()- Parameters:
text- A system prompt for the model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptVersionPropsMixin.SystemContentBlockProperty>- Returns:
- a new instance of
CfnPromptVersionPropsMixin.SystemContentBlockProperty - Throws:
NullPointerException- if any required attribute was not provided
-