Class CfnCodeInterpreterCustomMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnCodeInterpreterCustomMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeInterpreterCustomMixinProps>
- Enclosing interface:
CfnCodeInterpreterCustomMixinProps
@Stability(Stable)
public static final class CfnCodeInterpreterCustomMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeInterpreterCustomMixinProps>
A builder for
CfnCodeInterpreterCustomMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnCodeInterpreterCustomMixinProps.getDescription()executionRoleArn(String executionRoleArn) Sets the value ofCfnCodeInterpreterCustomMixinProps.getExecutionRoleArn()Sets the value ofCfnCodeInterpreterCustomMixinProps.getName()networkConfiguration(CfnCodeInterpreterCustomPropsMixin.CodeInterpreterNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnCodeInterpreterCustomMixinProps.getNetworkConfiguration()networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnCodeInterpreterCustomMixinProps.getNetworkConfiguration()Sets the value ofCfnCodeInterpreterCustomMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnCodeInterpreterCustomMixinProps.Builder description(String description) Sets the value ofCfnCodeInterpreterCustomMixinProps.getDescription()- Parameters:
description- The code interpreter description.- Returns:
this
-
executionRoleArn
@Stability(Stable) public CfnCodeInterpreterCustomMixinProps.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnCodeInterpreterCustomMixinProps.getExecutionRoleArn()- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the execution role.- Returns:
this
-
name
Sets the value ofCfnCodeInterpreterCustomMixinProps.getName()- Parameters:
name- The name of the code interpreter.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnCodeInterpreterCustomMixinProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnCodeInterpreterCustomMixinProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnCodeInterpreterCustomMixinProps.Builder networkConfiguration(CfnCodeInterpreterCustomPropsMixin.CodeInterpreterNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnCodeInterpreterCustomMixinProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.- Returns:
this
-
tags
Sets the value ofCfnCodeInterpreterCustomMixinProps.getTags()- Parameters:
tags- The tags for the code interpreter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCodeInterpreterCustomMixinProps>- Returns:
- a new instance of
CfnCodeInterpreterCustomMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-