pub struct CreateBlobStorageIntegrationRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> CreateBlobStorageIntegrationRequestBuilder<S>
impl<S: State> CreateBlobStorageIntegrationRequestBuilder<S>
Sourcepub fn build(self) -> CreateBlobStorageIntegrationRequestwhere
S: IsComplete,
pub fn build(self) -> CreateBlobStorageIntegrationRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn project_id(
self,
value: String,
) -> CreateBlobStorageIntegrationRequestBuilder<SetProjectId<S>>where
S::ProjectId: IsUnset,
pub fn project_id(
self,
value: String,
) -> CreateBlobStorageIntegrationRequestBuilder<SetProjectId<S>>where
S::ProjectId: IsUnset,
Required.
ID of the project in which to configure the blob storage integration
Sourcepub fn type(
self,
value: BlobStorageIntegrationType,
) -> CreateBlobStorageIntegrationRequestBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type(
self,
value: BlobStorageIntegrationType,
) -> CreateBlobStorageIntegrationRequestBuilder<SetType<S>>where
S::Type: IsUnset,
Required.
Sourcepub fn bucket_name(
self,
value: String,
) -> CreateBlobStorageIntegrationRequestBuilder<SetBucketName<S>>where
S::BucketName: IsUnset,
pub fn bucket_name(
self,
value: String,
) -> CreateBlobStorageIntegrationRequestBuilder<SetBucketName<S>>where
S::BucketName: IsUnset,
Required.
Name of the storage bucket. For AZURE_BLOB_STORAGE, must be a valid Azure container name (3-63 chars, lowercase letters, numbers, and hyphens only, must start and end with a letter or number, no consecutive hyphens). For GOOGLE_CLOUD_STORAGE with default credentials, the bucket must be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS.
Sourcepub fn endpoint(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetEndpoint<S>>where
S::Endpoint: IsUnset,
pub fn endpoint(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetEndpoint<S>>where
S::Endpoint: IsUnset,
Sourcepub fn maybe_endpoint(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetEndpoint<S>>where
S::Endpoint: IsUnset,
pub fn maybe_endpoint(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetEndpoint<S>>where
S::Endpoint: IsUnset,
Sourcepub fn region(
self,
value: String,
) -> CreateBlobStorageIntegrationRequestBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: String,
) -> CreateBlobStorageIntegrationRequestBuilder<SetRegion<S>>where
S::Region: IsUnset,
Required.
Storage region used by S3-compatible clients (AWS, GCS, Cloudflare R2, MinIO, Azure location IDs such as eastus, OCI). Leading and trailing whitespace is removed. The remaining value must be 1-63 letters, numbers, or hyphens, and cannot start or end with a hyphen. Examples: us-east-1, europe-west1, eastus, auto. Not used by GOOGLE_CLOUD_STORAGE; pass auto.
Sourcepub fn access_key_id(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetAccessKeyId<S>>where
S::AccessKeyId: IsUnset,
pub fn access_key_id(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetAccessKeyId<S>>where
S::AccessKeyId: IsUnset,
Sourcepub fn maybe_access_key_id(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetAccessKeyId<S>>where
S::AccessKeyId: IsUnset,
pub fn maybe_access_key_id(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetAccessKeyId<S>>where
S::AccessKeyId: IsUnset,
Sourcepub fn secret_access_key(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetSecretAccessKey<S>>where
S::SecretAccessKey: IsUnset,
pub fn secret_access_key(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetSecretAccessKey<S>>where
S::SecretAccessKey: IsUnset,
Optional (Some / Option setters).
Secret access key for authentication (will be encrypted when stored). When omitted on update, the stored secret is kept, unless the type changes between GOOGLE_CLOUD_STORAGE and another type. For GOOGLE_CLOUD_STORAGE, a GCP service account JSON key. On self-hosted deployments, pass __GCS_DEFAULT_CREDENTIALS__ instead to use the deployment’s Application Default Credentials; the bucket must then be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS. Default credentials are not available on Langfuse Cloud.
Sourcepub fn maybe_secret_access_key(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetSecretAccessKey<S>>where
S::SecretAccessKey: IsUnset,
pub fn maybe_secret_access_key(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetSecretAccessKey<S>>where
S::SecretAccessKey: IsUnset,
Optional (Some / Option setters).
Secret access key for authentication (will be encrypted when stored). When omitted on update, the stored secret is kept, unless the type changes between GOOGLE_CLOUD_STORAGE and another type. For GOOGLE_CLOUD_STORAGE, a GCP service account JSON key. On self-hosted deployments, pass __GCS_DEFAULT_CREDENTIALS__ instead to use the deployment’s Application Default Credentials; the bucket must then be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS. Default credentials are not available on Langfuse Cloud.
Sourcepub fn prefix(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
pub fn prefix(
self,
value: Option<String>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
Sourcepub fn maybe_prefix(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
pub fn maybe_prefix(
self,
value: Option<Option<String>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
Sourcepub fn export_frequency(
self,
value: BlobStorageExportFrequency,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportFrequency<S>>where
S::ExportFrequency: IsUnset,
pub fn export_frequency(
self,
value: BlobStorageExportFrequency,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportFrequency<S>>where
S::ExportFrequency: IsUnset,
Required.
Sourcepub fn enabled(
self,
value: bool,
) -> CreateBlobStorageIntegrationRequestBuilder<SetEnabled<S>>where
S::Enabled: IsUnset,
pub fn enabled(
self,
value: bool,
) -> CreateBlobStorageIntegrationRequestBuilder<SetEnabled<S>>where
S::Enabled: IsUnset,
Required.
Whether the integration is active
Sourcepub fn force_path_style(
self,
value: bool,
) -> CreateBlobStorageIntegrationRequestBuilder<SetForcePathStyle<S>>where
S::ForcePathStyle: IsUnset,
pub fn force_path_style(
self,
value: bool,
) -> CreateBlobStorageIntegrationRequestBuilder<SetForcePathStyle<S>>where
S::ForcePathStyle: IsUnset,
Required.
Use path-style URLs for S3 requests
Sourcepub fn file_type(
self,
value: BlobStorageIntegrationFileType,
) -> CreateBlobStorageIntegrationRequestBuilder<SetFileType<S>>where
S::FileType: IsUnset,
pub fn file_type(
self,
value: BlobStorageIntegrationFileType,
) -> CreateBlobStorageIntegrationRequestBuilder<SetFileType<S>>where
S::FileType: IsUnset,
Required.
Sourcepub fn export_mode(
self,
value: BlobStorageExportMode,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportMode<S>>where
S::ExportMode: IsUnset,
pub fn export_mode(
self,
value: BlobStorageExportMode,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportMode<S>>where
S::ExportMode: IsUnset,
Required.
Sourcepub fn export_start_date(
self,
value: Option<DateTime<FixedOffset>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportStartDate<S>>where
S::ExportStartDate: IsUnset,
pub fn export_start_date(
self,
value: Option<DateTime<FixedOffset>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportStartDate<S>>where
S::ExportStartDate: IsUnset,
Sourcepub fn maybe_export_start_date(
self,
value: Option<Option<DateTime<FixedOffset>>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportStartDate<S>>where
S::ExportStartDate: IsUnset,
pub fn maybe_export_start_date(
self,
value: Option<Option<DateTime<FixedOffset>>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportStartDate<S>>where
S::ExportStartDate: IsUnset,
Sourcepub fn compressed(
self,
value: Option<bool>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
pub fn compressed(
self,
value: Option<bool>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
Sourcepub fn maybe_compressed(
self,
value: Option<Option<bool>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
pub fn maybe_compressed(
self,
value: Option<Option<bool>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
Sourcepub fn export_source(
self,
value: BlobStorageExportSource,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportSource<S>>where
S::ExportSource: IsUnset,
pub fn export_source(
self,
value: BlobStorageExportSource,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportSource<S>>where
S::ExportSource: IsUnset,
Sourcepub fn maybe_export_source(
self,
value: Option<BlobStorageExportSource>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportSource<S>>where
S::ExportSource: IsUnset,
pub fn maybe_export_source(
self,
value: Option<BlobStorageExportSource>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportSource<S>>where
S::ExportSource: IsUnset,
Sourcepub fn export_field_groups(
self,
value: Option<Vec<BlobStorageExportFieldGroup>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportFieldGroups<S>>where
S::ExportFieldGroups: IsUnset,
pub fn export_field_groups(
self,
value: Option<Vec<BlobStorageExportFieldGroup>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportFieldGroups<S>>where
S::ExportFieldGroups: IsUnset,
Optional (Some / Option setters).
Field groups to include in each exported observation row. Applies to all export sources; must include core if provided. When omitted on create, the column default (all groups) applies. When omitted on update, the existing value is preserved. exportFieldGroups requires exportSource to be provided in the same request.
Sourcepub fn maybe_export_field_groups(
self,
value: Option<Option<Vec<BlobStorageExportFieldGroup>>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportFieldGroups<S>>where
S::ExportFieldGroups: IsUnset,
pub fn maybe_export_field_groups(
self,
value: Option<Option<Vec<BlobStorageExportFieldGroup>>>,
) -> CreateBlobStorageIntegrationRequestBuilder<SetExportFieldGroups<S>>where
S::ExportFieldGroups: IsUnset,
Optional (Some / Option setters).
Field groups to include in each exported observation row. Applies to all export sources; must include core if provided. When omitted on create, the column default (all groups) applies. When omitted on update, the existing value is preserved. exportFieldGroups requires exportSource to be provided in the same request.