Interface CreateCodeInterpreterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<CreateCodeInterpreterRequest.Builder,
,CreateCodeInterpreterRequest> SdkBuilder<CreateCodeInterpreterRequest.Builder,
,CreateCodeInterpreterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateCodeInterpreterRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description
(String description) The description of the code interpreter.executionRoleArn
(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.The name of the code interpreter.networkConfiguration
(Consumer<CodeInterpreterNetworkConfiguration.Builder> networkConfiguration) The network configuration for the code interpreter.networkConfiguration
(CodeInterpreterNetworkConfiguration networkConfiguration) The network configuration for the code interpreter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the code interpreter. The name must be unique within your account.
- Parameters:
name
- The name of the code interpreter. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the code interpreter.
- Parameters:
description
- The description of the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
CreateCodeInterpreterRequest.Builder networkConfiguration(CodeInterpreterNetworkConfiguration networkConfiguration) The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.
- Parameters:
networkConfiguration
- The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default CreateCodeInterpreterRequest.Builder networkConfiguration(Consumer<CodeInterpreterNetworkConfiguration.Builder> networkConfiguration) The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.
This is a convenience method that creates an instance of theCodeInterpreterNetworkConfiguration.Builder
avoiding the need to create one manually viaCodeInterpreterNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfiguration(CodeInterpreterNetworkConfiguration)
.- Parameters:
networkConfiguration
- a consumer that will call methods onCodeInterpreterNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- Parameters:
clientToken
- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCodeInterpreterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCodeInterpreterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-