Interface MemoryRecordOutput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MemoryRecordOutput.Builder,MemoryRecordOutput>, SdkBuilder<MemoryRecordOutput.Builder,MemoryRecordOutput>, SdkPojo
Enclosing class:
MemoryRecordOutput

@Mutable @NotThreadSafe public static interface MemoryRecordOutput.Builder extends SdkPojo, CopyableBuilder<MemoryRecordOutput.Builder,MemoryRecordOutput>
  • Method Details

    • memoryRecordId

      MemoryRecordOutput.Builder memoryRecordId(String memoryRecordId)

      The unique ID associated to the memory record.

      Parameters:
      memoryRecordId - The unique ID associated to the memory record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

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

      Parameters:
      status - The status of the memory record operation (e.g., SUCCEEDED, FAILED).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

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

      Parameters:
      status - The status of the memory record operation (e.g., SUCCEEDED, FAILED).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestIdentifier

      MemoryRecordOutput.Builder requestIdentifier(String requestIdentifier)

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

      Parameters:
      requestIdentifier - The client-provided identifier that was used to track this record operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      MemoryRecordOutput.Builder errorCode(Integer errorCode)

      The error code returned when the memory record operation fails.

      Parameters:
      errorCode - The error code returned when the memory record operation fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      MemoryRecordOutput.Builder errorMessage(String errorMessage)

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

      Parameters:
      errorMessage - A human-readable error message describing why the memory record operation failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.