Class CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty>
- Enclosing interface:
CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty
@Stability(Stable)
public static final class CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.preserveRecentMessages(Number preserveRecentMessages) summarizationSystemPrompt(String summarizationSystemPrompt) summaryRatio(Number summaryRatio)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
preserveRecentMessages
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.Builder preserveRecentMessages(Number preserveRecentMessages) Sets the value ofCfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.getPreserveRecentMessages()- Parameters:
preserveRecentMessages- the value to be set.- Returns:
this
-
summarizationSystemPrompt
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.Builder summarizationSystemPrompt(String summarizationSystemPrompt) Sets the value ofCfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.getSummarizationSystemPrompt()- Parameters:
summarizationSystemPrompt- the value to be set.- Returns:
this
-
summaryRatio
@Stability(Stable) public CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty.Builder summaryRatio(Number summaryRatio) - Parameters:
summaryRatio- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty>- Returns:
- a new instance of
CfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-