Interface GetCodeInterpreterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreControlResponse.Builder
,Buildable
,CopyableBuilder<GetCodeInterpreterResponse.Builder,
,GetCodeInterpreterResponse> SdkBuilder<GetCodeInterpreterResponse.Builder,
,GetCodeInterpreterResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCodeInterpreterResponse
@Mutable
@NotThreadSafe
public static interface GetCodeInterpreterResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<GetCodeInterpreterResponse.Builder,GetCodeInterpreterResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncodeInterpreterArn
(String codeInterpreterArn) The Amazon Resource Name (ARN) of the code interpreter.codeInterpreterId
(String codeInterpreterId) The unique identifier of the code interpreter.The timestamp when the code interpreter was created.description
(String description) The description of the code interpreter.executionRoleArn
(String executionRoleArn) The IAM role ARN that provides permissions for the code interpreter.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp when the code interpreter was last updated.The name of the code interpreter.networkConfiguration
(Consumer<CodeInterpreterNetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object.networkConfiguration
(CodeInterpreterNetworkConfiguration networkConfiguration) Sets the value of the NetworkConfiguration property for this object.The current status of the code interpreter.status
(CodeInterpreterStatus status) The current status of the code interpreter.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
codeInterpreterId
The unique identifier of the code interpreter.
- Parameters:
codeInterpreterId
- The unique identifier of the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeInterpreterArn
The Amazon Resource Name (ARN) of the code interpreter.
- Parameters:
codeInterpreterArn
- The Amazon Resource Name (ARN) of the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the code interpreter.
- Parameters:
name
- The name of the code interpreter.- 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 IAM role ARN that provides permissions for the code interpreter.
- Parameters:
executionRoleArn
- The IAM role ARN that provides permissions for the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
GetCodeInterpreterResponse.Builder networkConfiguration(CodeInterpreterNetworkConfiguration networkConfiguration) Sets the value of the NetworkConfiguration property for this object.- Parameters:
networkConfiguration
- The new value for the NetworkConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default GetCodeInterpreterResponse.Builder networkConfiguration(Consumer<CodeInterpreterNetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object. 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:
-
status
The current status of the code interpreter.
- Parameters:
status
- The current status of the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the code interpreter.
- Parameters:
status
- The current status of the code interpreter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the code interpreter was created.
- Parameters:
createdAt
- The timestamp when the code interpreter was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp when the code interpreter was last updated.
- Parameters:
lastUpdatedAt
- The timestamp when the code interpreter was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-