Class FileSyncIngestionLogs.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.FileSyncIngestionLogs.Builder
-
- Enclosing class:
- FileSyncIngestionLogs
public static class FileSyncIngestionLogs.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSyncIngestionLogsbuild()FileSyncIngestionLogs.Buildercopy(FileSyncIngestionLogs model)FileSyncIngestionLogs.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.FileSyncIngestionLogs.BuilderdurationInSeconds(Integer durationInSeconds)The duration taken(in seconds) to ingest the File.FileSyncIngestionLogs.BuilderfileId(String fileId)An identifier that identifies a File ingested to a VectorStore.FileSyncIngestionLogs.BuilderfilePath(String filePath)The path where the file was located in the datasource.FileSyncIngestionLogs.BuilderfileSizeInBytes(Integer fileSizeInBytes)The size of the file.FileSyncIngestionLogs.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.FileSyncIngestionLogs.Builderstatus(FileSyncIngestionLogs.Status status)The current status of ingestion for the FileFileSyncIngestionLogs.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.FileSyncIngestionLogs.BuildertotalChunksCreated(Integer totalChunksCreated)The total number of chunks created from the File.
-
-
-
Method Detail
-
fileId
public FileSyncIngestionLogs.Builder fileId(String fileId)
An identifier that identifies a File ingested to a VectorStore.- Parameters:
fileId- the value to set- Returns:
- this builder
-
filePath
public FileSyncIngestionLogs.Builder filePath(String filePath)
The path where the file was located in the datasource.- Parameters:
filePath- the value to set- Returns:
- this builder
-
fileSizeInBytes
public FileSyncIngestionLogs.Builder fileSizeInBytes(Integer fileSizeInBytes)
The size of the file.- Parameters:
fileSizeInBytes- the value to set- Returns:
- this builder
-
totalChunksCreated
public FileSyncIngestionLogs.Builder totalChunksCreated(Integer totalChunksCreated)
The total number of chunks created from the File.- Parameters:
totalChunksCreated- the value to set- Returns:
- this builder
-
durationInSeconds
public FileSyncIngestionLogs.Builder durationInSeconds(Integer durationInSeconds)
The duration taken(in seconds) to ingest the File.- Parameters:
durationInSeconds- the value to set- Returns:
- this builder
-
status
public FileSyncIngestionLogs.Builder status(FileSyncIngestionLogs.Status status)
The current status of ingestion for the File- Parameters:
status- the value to set- Returns:
- this builder
-
freeformTags
public FileSyncIngestionLogs.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public FileSyncIngestionLogs.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public FileSyncIngestionLogs.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public FileSyncIngestionLogs build()
-
copy
public FileSyncIngestionLogs.Builder copy(FileSyncIngestionLogs model)
-
-