Class PatchMediaBody.Builder
java.lang.Object
com.langfuse.client.resources.media.types.PatchMediaBody.Builder
- All Implemented Interfaces:
PatchMediaBody._FinalStage,PatchMediaBody.UploadedAtStage,PatchMediaBody.UploadHttpStatusStage
- Enclosing class:
PatchMediaBody
public static final class PatchMediaBody.Builder
extends Object
implements PatchMediaBody.UploadedAtStage, PatchMediaBody.UploadHttpStatusStage, PatchMediaBody._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()from(PatchMediaBody other) uploadedAt(OffsetDateTime uploadedAt) The date and time when the media record was uploadeduploadHttpError(String uploadHttpError) The HTTP error message of the uploaduploadHttpError(Optional<String> uploadHttpError) The HTTP error message of the uploaduploadHttpStatus(int uploadHttpStatus) The HTTP status code of the uploaduploadTimeMs(Integer uploadTimeMs) The time in milliseconds it took to upload the media recorduploadTimeMs(Optional<Integer> uploadTimeMs) The time in milliseconds it took to upload the media record
-
Method Details
-
from
- Specified by:
fromin interfacePatchMediaBody.UploadedAtStage
-
uploadedAt
The date and time when the media record was uploaded
The date and time when the media record was uploaded
- Specified by:
uploadedAtin interfacePatchMediaBody.UploadedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
uploadHttpStatus
The HTTP status code of the upload
The HTTP status code of the upload
- Specified by:
uploadHttpStatusin interfacePatchMediaBody.UploadHttpStatusStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
uploadTimeMs
The time in milliseconds it took to upload the media record
- Specified by:
uploadTimeMsin interfacePatchMediaBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
uploadTimeMs
The time in milliseconds it took to upload the media record
- Specified by:
uploadTimeMsin interfacePatchMediaBody._FinalStage
-
uploadHttpError
The HTTP error message of the upload
- Specified by:
uploadHttpErrorin interfacePatchMediaBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
uploadHttpError
The HTTP error message of the upload
- Specified by:
uploadHttpErrorin interfacePatchMediaBody._FinalStage
-
build
- Specified by:
buildin interfacePatchMediaBody._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfacePatchMediaBody._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfacePatchMediaBody._FinalStage
-