Class GetMediaResponse.Builder
java.lang.Object
com.langfuse.client.resources.media.types.GetMediaResponse.Builder
- All Implemented Interfaces:
GetMediaResponse._FinalStage,GetMediaResponse.ContentLengthStage,GetMediaResponse.ContentTypeStage,GetMediaResponse.MediaIdStage,GetMediaResponse.UploadedAtStage,GetMediaResponse.UrlExpiryStage,GetMediaResponse.UrlStage
- Enclosing class:
GetMediaResponse
public static final class GetMediaResponse.Builder
extends Object
implements GetMediaResponse.MediaIdStage, GetMediaResponse.ContentTypeStage, GetMediaResponse.ContentLengthStage, GetMediaResponse.UploadedAtStage, GetMediaResponse.UrlStage, GetMediaResponse.UrlExpiryStage, GetMediaResponse._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()contentLength(int contentLength) The size of the media record in bytescontentType(String contentType) The MIME type of the media recordfrom(GetMediaResponse other) The unique langfuse identifier of a media recorduploadedAt(OffsetDateTime uploadedAt) The date and time when the media record was uploadedThe download URL of the media recordThe expiry date and time of the media record download URL
-
Method Details
-
from
- Specified by:
fromin interfaceGetMediaResponse.MediaIdStage
-
mediaId
The unique langfuse identifier of a media record
The unique langfuse identifier of a media record
- Specified by:
mediaIdin interfaceGetMediaResponse.MediaIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentType
The MIME type of the media record
The MIME type of the media record
- Specified by:
contentTypein interfaceGetMediaResponse.ContentTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentLength
The size of the media record in bytes
The size of the media record in bytes
- Specified by:
contentLengthin interfaceGetMediaResponse.ContentLengthStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
uploadedAt
The date and time when the media record was uploaded
The date and time when the media record was uploaded
- Specified by:
uploadedAtin interfaceGetMediaResponse.UploadedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
The download URL of the media record
The download URL of the media record
- Specified by:
urlin interfaceGetMediaResponse.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
urlExpiry
The expiry date and time of the media record download URL
The expiry date and time of the media record download URL
- Specified by:
urlExpiryin interfaceGetMediaResponse.UrlExpiryStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceGetMediaResponse._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceGetMediaResponse._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceGetMediaResponse._FinalStage
-