Class UploadFileSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.UploadFileSummary.Builder
-
- Enclosing class:
- UploadFileSummary
public static class UploadFileSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 fileUploadFileSummary.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.
-
-
-
Method Detail
-
reference
public UploadFileSummary.Builder reference(String reference)
Unique internal identifier to refer upload file.- Parameters:
reference
- the value to set- Returns:
- this builder
-
name
public UploadFileSummary.Builder name(String name)
Name of the file- Parameters:
name
- the value to set- Returns:
- this builder
-
status
public UploadFileSummary.Builder status(UploadFileSummary.Status status)
Processing status of the file.- Parameters:
status
- the value to set- Returns:
- this builder
-
totalChunks
public 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.
- Parameters:
totalChunks
- the value to set- Returns:
- this builder
-
chunksConsumed
public UploadFileSummary.Builder chunksConsumed(BigDecimal chunksConsumed)
Number of chunks processed.- Parameters:
chunksConsumed
- the value to set- Returns:
- this builder
-
chunksSuccess
public UploadFileSummary.Builder chunksSuccess(BigDecimal chunksSuccess)
Number of chunks processed successfully.- Parameters:
chunksSuccess
- the value to set- Returns:
- this builder
-
chunksFail
public UploadFileSummary.Builder chunksFail(BigDecimal chunksFail)
Number of chunks failed processing.- Parameters:
chunksFail
- the value to set- Returns:
- this builder
-
timeStarted
public UploadFileSummary.Builder timeStarted(Date timeStarted)
The time when this file processing started.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
sourceName
public UploadFileSummary.Builder sourceName(String sourceName)
Name of the log source used for processing this file.- Parameters:
sourceName
- the value to set- Returns:
- this builder
-
entityType
public UploadFileSummary.Builder entityType(String entityType)
Name of the entity type.- Parameters:
entityType
- the value to set- Returns:
- this builder
-
entityName
public UploadFileSummary.Builder entityName(String entityName)
Name of the entity associated with the file.- Parameters:
entityName
- the value to set- Returns:
- this builder
-
logNamespace
public UploadFileSummary.Builder logNamespace(String logNamespace)
(Deprecated) Name of the log namespace associated with the file.- Parameters:
logNamespace
- the value to set- Returns:
- this builder
-
logGroupId
public UploadFileSummary.Builder logGroupId(String logGroupId)
Log group OCID associated with the file.- Parameters:
logGroupId
- the value to set- Returns:
- this builder
-
logGroupName
public UploadFileSummary.Builder logGroupName(String logGroupName)
Name of the log group associated with the file.- Parameters:
logGroupName
- the value to set- Returns:
- this builder
-
failureDetails
public UploadFileSummary.Builder failureDetails(String failureDetails)
The details about upload processing failure.- Parameters:
failureDetails
- the value to set- Returns:
- this builder
-
build
public UploadFileSummary build()
-
copy
public UploadFileSummary.Builder copy(UploadFileSummary model)
-
-