public static class UploadFileSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UploadFileSummary |
build() |
UploadFileSummary.Builder |
chunksConsumed(BigDecimal chunksConsumed)
Number of chunks processed.
|
UploadFileSummary.Builder |
chunksFail(BigDecimal chunksFail)
Number of chunks failed processing.
|
UploadFileSummary.Builder |
chunksSuccess(BigDecimal chunksSuccess)
Number of chunks processed successfully.
|
UploadFileSummary.Builder |
copy(UploadFileSummary model) |
UploadFileSummary.Builder |
entityName(String entityName)
Name of the entity associated with the file.
|
UploadFileSummary.Builder |
entityType(String entityType)
Name of the entity type.
|
UploadFileSummary.Builder |
failureDetails(String failureDetails)
The details about upload processing failure.
|
UploadFileSummary.Builder |
logGroupId(String logGroupId)
Log group OCID associated with the file.
|
UploadFileSummary.Builder |
logGroupName(String logGroupName)
Name of the log group associated with the file.
|
UploadFileSummary.Builder |
logNamespace(String logNamespace)
(Deprecated) Name of the log namespace associated with the file.
|
UploadFileSummary.Builder |
name(String name)
Name of the file
|
UploadFileSummary.Builder |
reference(String reference)
Unique internal identifier to refer upload file.
|
UploadFileSummary.Builder |
sourceName(String sourceName)
Name of the log source used for processing this file.
|
UploadFileSummary.Builder |
status(UploadFileSummary.Status status)
Processing status of the file.
|
UploadFileSummary.Builder |
timeStarted(Date timeStarted)
The time when this file processing started.
|
UploadFileSummary.Builder |
totalChunks(BigDecimal totalChunks)
Number of estimated chunks for this file.
|
public UploadFileSummary.Builder reference(String reference)
Unique internal identifier to refer upload file.
reference
- the value to setpublic UploadFileSummary.Builder name(String name)
Name of the file
name
- the value to setpublic UploadFileSummary.Builder status(UploadFileSummary.Status status)
Processing status of the file.
status
- the value to setpublic UploadFileSummary.Builder totalChunks(BigDecimal totalChunks)
Number of estimated chunks for this file. A chunk is a portion of the log file used for the processing.
totalChunks
- the value to setpublic UploadFileSummary.Builder chunksConsumed(BigDecimal chunksConsumed)
Number of chunks processed.
chunksConsumed
- the value to setpublic UploadFileSummary.Builder chunksSuccess(BigDecimal chunksSuccess)
Number of chunks processed successfully.
chunksSuccess
- the value to setpublic UploadFileSummary.Builder chunksFail(BigDecimal chunksFail)
Number of chunks failed processing.
chunksFail
- the value to setpublic UploadFileSummary.Builder timeStarted(Date timeStarted)
The time when this file processing started.
timeStarted
- the value to setpublic UploadFileSummary.Builder sourceName(String sourceName)
Name of the log source used for processing this file.
sourceName
- the value to setpublic UploadFileSummary.Builder entityType(String entityType)
Name of the entity type.
entityType
- the value to setpublic UploadFileSummary.Builder entityName(String entityName)
Name of the entity associated with the file.
entityName
- the value to setpublic UploadFileSummary.Builder logNamespace(String logNamespace)
(Deprecated) Name of the log namespace associated with the file.
logNamespace
- the value to setpublic UploadFileSummary.Builder logGroupId(String logGroupId)
Log group OCID associated with the file.
logGroupId
- the value to setpublic UploadFileSummary.Builder logGroupName(String logGroupName)
Name of the log group associated with the file.
logGroupName
- the value to setpublic UploadFileSummary.Builder failureDetails(String failureDetails)
The details about upload processing failure.
failureDetails
- the value to setpublic UploadFileSummary build()
public UploadFileSummary.Builder copy(UploadFileSummary model)
Copyright © 2016–2024. All rights reserved.