Class CfnHarness.HarnessTruncationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessTruncationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.HarnessTruncationConfigurationProperty>
- Enclosing interface:
CfnHarness.HarnessTruncationConfigurationProperty
@Stability(Stable)
public static final class CfnHarness.HarnessTruncationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.HarnessTruncationConfigurationProperty>
A builder for
CfnHarness.HarnessTruncationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.config(IResolvable config) Sets the value ofCfnHarness.HarnessTruncationConfigurationProperty.getConfig()Sets the value ofCfnHarness.HarnessTruncationConfigurationProperty.getConfig()Sets the value ofCfnHarness.HarnessTruncationConfigurationProperty.getStrategy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
strategy
@Stability(Stable) public CfnHarness.HarnessTruncationConfigurationProperty.Builder strategy(String strategy) Sets the value ofCfnHarness.HarnessTruncationConfigurationProperty.getStrategy()- Parameters:
strategy- the value to be set. This parameter is required.- Returns:
this
-
config
@Stability(Stable) public CfnHarness.HarnessTruncationConfigurationProperty.Builder config(IResolvable config) Sets the value ofCfnHarness.HarnessTruncationConfigurationProperty.getConfig()- Parameters:
config- the value to be set.- Returns:
this
-
config
@Stability(Stable) public CfnHarness.HarnessTruncationConfigurationProperty.Builder config(CfnHarness.HarnessTruncationStrategyConfigurationProperty config) Sets the value ofCfnHarness.HarnessTruncationConfigurationProperty.getConfig()- Parameters:
config- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.HarnessTruncationConfigurationProperty>- Returns:
- a new instance of
CfnHarness.HarnessTruncationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-