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