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.A map of tag keys and values to assign to the code interpreter.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaCodeInterpreterNetworkConfiguration.builder().When the
Consumercompletes,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.
-
tags
A map of tag keys and values to assign to the code interpreter. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags- A map of tag keys and values to assign to the code interpreter. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-