Interface CfnHarness.HarnessTruncationStrategyConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarness.HarnessTruncationStrategyConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnHarness
@Stability(Stable)
public static interface CfnHarness.HarnessTruncationStrategyConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
HarnessTruncationStrategyConfigurationProperty harnessTruncationStrategyConfigurationProperty = HarnessTruncationStrategyConfigurationProperty.builder()
.slidingWindow(HarnessSlidingWindowConfigurationProperty.builder()
.messagesCount(123)
.build())
.summarization(HarnessSummarizationConfigurationProperty.builder()
.preserveRecentMessages(123)
.summarizationSystemPrompt("summarizationSystemPrompt")
.summaryRatio(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnHarness.HarnessTruncationStrategyConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnHarness.HarnessSlidingWindowConfigurationPropertydefault ObjectReturns union: eitherIResolvableorCfnHarness.HarnessSummarizationConfigurationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSlidingWindow
Returns union: eitherIResolvableorCfnHarness.HarnessSlidingWindowConfigurationProperty- See Also:
-
getSummarization
Returns union: eitherIResolvableorCfnHarness.HarnessSummarizationConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnHarness.HarnessTruncationStrategyConfigurationProperty.Builder builder()
-