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 sandbox. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnCodeInterpreterCustomProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnCodeInterpreterCustomProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- Network configuration for code interpreter. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnCodeInterpreterCustomProps.Builder networkConfiguration(CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty networkConfiguration) Sets the value ofCfnCodeInterpreterCustomProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- Network configuration for code interpreter. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnCodeInterpreterCustomProps.getDescription()
- Parameters:
description
- Description of the code interpreter.- Returns:
this
-
executionRoleArn
@Stability(Stable) public CfnCodeInterpreterCustomProps.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnCodeInterpreterCustomProps.getExecutionRoleArn()
- Parameters:
executionRoleArn
- The ARN of the IAM role.- Returns:
this
-
tags
Sets the value ofCfnCodeInterpreterCustomProps.getTags()
- Parameters:
tags
- A map of tag keys and values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCodeInterpreterCustomProps>
- Returns:
- a new instance of
CfnCodeInterpreterCustomProps
- Throws:
NullPointerException
- if any required attribute was not provided
-