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