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