Class InvocationInput
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.InvocationInput
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InvocationInput.Builder,InvocationInput>
@Generated("software.amazon.awssdk:codegen") public final class InvocationInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InvocationInput.Builder,InvocationInput>
Contains information pertaining to the action group or knowledge base that is being invoked.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InvocationInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionGroupInvocationInput
actionGroupInvocationInput()
Contains information about the action group to be invoked.static InvocationInput.Builder
builder()
CodeInterpreterInvocationInput
codeInterpreterInvocationInput()
Contains information about the code interpreter to be invoked.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
InvocationType
invocationType()
Specifies whether the agent is invoking an action group or a knowledge base.String
invocationTypeAsString()
Specifies whether the agent is invoking an action group or a knowledge base.KnowledgeBaseLookupInput
knowledgeBaseLookupInput()
Contains details about the knowledge base to look up and the query to be made.List<SdkField<?>>
sdkFields()
static Class<? extends InvocationInput.Builder>
serializableBuilderClass()
InvocationInput.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
traceId()
The unique identifier of the trace.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actionGroupInvocationInput
public final ActionGroupInvocationInput actionGroupInvocationInput()
Contains information about the action group to be invoked.
- Returns:
- Contains information about the action group to be invoked.
-
codeInterpreterInvocationInput
public final CodeInterpreterInvocationInput codeInterpreterInvocationInput()
Contains information about the code interpreter to be invoked.
- Returns:
- Contains information about the code interpreter to be invoked.
-
invocationType
public final InvocationType invocationType()
Specifies whether the agent is invoking an action group or a knowledge base.
If the service returns an enum value that is not available in the current SDK version,
invocationType
will returnInvocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvocationTypeAsString()
.- Returns:
- Specifies whether the agent is invoking an action group or a knowledge base.
- See Also:
InvocationType
-
invocationTypeAsString
public final String invocationTypeAsString()
Specifies whether the agent is invoking an action group or a knowledge base.
If the service returns an enum value that is not available in the current SDK version,
invocationType
will returnInvocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvocationTypeAsString()
.- Returns:
- Specifies whether the agent is invoking an action group or a knowledge base.
- See Also:
InvocationType
-
knowledgeBaseLookupInput
public final KnowledgeBaseLookupInput knowledgeBaseLookupInput()
Contains details about the knowledge base to look up and the query to be made.
- Returns:
- Contains details about the knowledge base to look up and the query to be made.
-
traceId
public final String traceId()
The unique identifier of the trace.
- Returns:
- The unique identifier of the trace.
-
toBuilder
public InvocationInput.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InvocationInput.Builder,InvocationInput>
-
builder
public static InvocationInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvocationInput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-