Class InvokeCodeInterpreterRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<InvokeCodeInterpreterRequest.Builder,InvokeCodeInterpreterRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ToolArgumentsThe arguments for the code interpreter.builder()final StringThe unique identifier of the code interpreter associated with the session.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ToolNamename()The name of the code interpreter to invoke.final StringThe name of the code interpreter to invoke.static Class<? extends InvokeCodeInterpreterRequest.Builder>final StringThe unique identifier of the code interpreter session to use.final StringtoString()Returns a string representation of this object.final StringtraceId()The trace identifier for request tracking.final StringThe parent trace information for distributed tracing.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
codeInterpreterIdentifier
The unique identifier of the code interpreter associated with the session. This must match the identifier used when creating the session with
StartCodeInterpreterSession.- Returns:
- The unique identifier of the code interpreter associated with the session. This must match the identifier
used when creating the session with
StartCodeInterpreterSession.
-
sessionId
The unique identifier of the code interpreter session to use. This must be an active session created with
StartCodeInterpreterSession. If the session has expired or been stopped, the request will fail.- Returns:
- The unique identifier of the code interpreter session to use. This must be an active session created with
StartCodeInterpreterSession. If the session has expired or been stopped, the request will fail.
-
traceId
The trace identifier for request tracking.
- Returns:
- The trace identifier for request tracking.
-
traceParent
The parent trace information for distributed tracing.
- Returns:
- The parent trace information for distributed tracing.
-
name
The name of the code interpreter to invoke.
If the service returns an enum value that is not available in the current SDK version,
namewill returnToolName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the code interpreter to invoke.
- See Also:
-
nameAsString
The name of the code interpreter to invoke.
If the service returns an enum value that is not available in the current SDK version,
namewill returnToolName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the code interpreter to invoke.
- See Also:
-
arguments
The arguments for the code interpreter. This includes the code to execute and any additional parameters such as the programming language, whether to clear the execution context, and other execution options. The structure of this parameter depends on the specific code interpreter being used.
- Returns:
- The arguments for the code interpreter. This includes the code to execute and any additional parameters such as the programming language, whether to clear the execution context, and other execution options. The structure of this parameter depends on the specific code interpreter being used.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvokeCodeInterpreterRequest.Builder,InvokeCodeInterpreterRequest> - Specified by:
toBuilderin classBedrockAgentCoreRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-