Interface StopCodeInterpreterSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreRequest.Builder
,Buildable
,CopyableBuilder<StopCodeInterpreterSessionRequest.Builder,
,StopCodeInterpreterSessionRequest> SdkBuilder<StopCodeInterpreterSessionRequest.Builder,
,StopCodeInterpreterSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StopCodeInterpreterSessionRequest
@Mutable
@NotThreadSafe
public static interface StopCodeInterpreterSessionRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<StopCodeInterpreterSessionRequest.Builder,StopCodeInterpreterSessionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.codeInterpreterIdentifier
(String codeInterpreterIdentifier) The unique identifier of the code interpreter associated with the session.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the code interpreter session to stop.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.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
-
codeInterpreterIdentifier
StopCodeInterpreterSessionRequest.Builder codeInterpreterIdentifier(String codeInterpreterIdentifier) The unique identifier of the code interpreter associated with the session.
- Parameters:
codeInterpreterIdentifier
- The unique identifier of the code interpreter associated with the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier of the code interpreter session to stop.
- Parameters:
sessionId
- The unique identifier of the code interpreter session to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure that the API request 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 API request 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
StopCodeInterpreterSessionRequest.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
StopCodeInterpreterSessionRequest.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.
-