Class InvocationStep
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.InvocationStep
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InvocationStep.Builder,InvocationStep>
@Generated("software.amazon.awssdk:codegen") public final class InvocationStep extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InvocationStep.Builder,InvocationStep>
Stores fine-grained state checkpoints, including text and images, for each interaction in an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InvocationStep.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvocationStep.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
invocationId()
The unique identifier (in UUID format) for the invocation that includes the invocation step.String
invocationStepId()
The unique identifier (in UUID format) for the invocation step.Instant
invocationStepTime()
The timestamp for when the invocation step was created.InvocationStepPayload
payload()
Payload content, such as text and images, for the invocation step.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends InvocationStep.Builder>
serializableBuilderClass()
String
sessionId()
The unique identifier of the session containing the invocation step.InvocationStep.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
invocationId
public final String invocationId()
The unique identifier (in UUID format) for the invocation that includes the invocation step.
- Returns:
- The unique identifier (in UUID format) for the invocation that includes the invocation step.
-
invocationStepId
public final String invocationStepId()
The unique identifier (in UUID format) for the invocation step.
- Returns:
- The unique identifier (in UUID format) for the invocation step.
-
invocationStepTime
public final Instant invocationStepTime()
The timestamp for when the invocation step was created.
- Returns:
- The timestamp for when the invocation step was created.
-
payload
public final InvocationStepPayload payload()
Payload content, such as text and images, for the invocation step.
- Returns:
- Payload content, such as text and images, for the invocation step.
-
sessionId
public final String sessionId()
The unique identifier of the session containing the invocation step.
- Returns:
- The unique identifier of the session containing the invocation step.
-
toBuilder
public InvocationStep.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InvocationStep.Builder,InvocationStep>
-
builder
public static InvocationStep.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvocationStep.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-