Class PutInvocationStepRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<PutInvocationStepRequest.Builder,PutInvocationStepRequest>

@Generated("software.amazon.awssdk:codegen") public final class PutInvocationStepRequest extends BedrockAgentRuntimeRequest implements ToCopyableBuilder<PutInvocationStepRequest.Builder,PutInvocationStepRequest>
  • Method Details

    • invocationIdentifier

      public final String invocationIdentifier()

      The unique identifier (in UUID format) of the invocation to add the invocation step to.

      Returns:
      The unique identifier (in UUID format) of the invocation to add the invocation step to.
    • invocationStepId

      public final String invocationStepId()

      The unique identifier of the invocation step in UUID format.

      Returns:
      The unique identifier of the invocation step in UUID format.
    • invocationStepTime

      public final Instant invocationStepTime()

      The timestamp for when the invocation step occurred.

      Returns:
      The timestamp for when the invocation step occurred.
    • payload

      public final InvocationStepPayload payload()

      The payload for the invocation step, including text and images for the interaction.

      Returns:
      The payload for the invocation step, including text and images for the interaction.
    • sessionIdentifier

      public final String sessionIdentifier()

      The unique identifier for the session to add the invocation step to. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

      Returns:
      The unique identifier for the session to add the invocation step to. You can specify either the session's sessionId or its Amazon Resource Name (ARN).
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<PutInvocationStepRequest.Builder,PutInvocationStepRequest>
      Specified by:
      toBuilder in class BedrockAgentRuntimeRequest
    • builder

      public static PutInvocationStepRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends PutInvocationStepRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo