Class MemoryRecordOutput

java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.MemoryRecordOutput
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<MemoryRecordOutput.Builder,MemoryRecordOutput>

@Generated("software.amazon.awssdk:codegen") public final class MemoryRecordOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MemoryRecordOutput.Builder,MemoryRecordOutput>

Output information returned after processing a memory record operation.

See Also:
  • Method Details

    • memoryRecordId

      public final String memoryRecordId()

      The unique ID associated to the memory record.

      Returns:
      The unique ID associated to the memory record.
    • status

      public final MemoryRecordStatus status()

      The status of the memory record operation (e.g., SUCCEEDED, FAILED).

      If the service returns an enum value that is not available in the current SDK version, status will return MemoryRecordStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The status of the memory record operation (e.g., SUCCEEDED, FAILED).
      See Also:
    • statusAsString

      public final String statusAsString()

      The status of the memory record operation (e.g., SUCCEEDED, FAILED).

      If the service returns an enum value that is not available in the current SDK version, status will return MemoryRecordStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The status of the memory record operation (e.g., SUCCEEDED, FAILED).
      See Also:
    • requestIdentifier

      public final String requestIdentifier()

      The client-provided identifier that was used to track this record operation.

      Returns:
      The client-provided identifier that was used to track this record operation.
    • errorCode

      public final Integer errorCode()

      The error code returned when the memory record operation fails.

      Returns:
      The error code returned when the memory record operation fails.
    • errorMessage

      public final String errorMessage()

      A human-readable error message describing why the memory record operation failed.

      Returns:
      A human-readable error message describing why the memory record operation failed.
    • toBuilder

      public MemoryRecordOutput.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<MemoryRecordOutput.Builder,MemoryRecordOutput>
    • builder

      public static MemoryRecordOutput.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • 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)
    • 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