Class UploadFileSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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