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