Class CryptoAnalysisResult.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • workRequestId

        public CryptoAnalysisResult.Builder workRequestId​(String workRequestId)
        The OCID of the work request to start the analysis.
        Parameters:
        workRequestId - the value to set
        Returns:
        this builder
      • managedInstanceId

        public CryptoAnalysisResult.Builder managedInstanceId​(String managedInstanceId)
        The managed instance OCID.
        Parameters:
        managedInstanceId - the value to set
        Returns:
        this builder
      • hostName

        public CryptoAnalysisResult.Builder hostName​(String hostName)
        The hostname of the managed instance.
        Parameters:
        hostName - the value to set
        Returns:
        this builder
      • timeFirstEvent

        public CryptoAnalysisResult.Builder timeFirstEvent​(Date timeFirstEvent)
        Time of the first event in the analysis.
        Parameters:
        timeFirstEvent - the value to set
        Returns:
        this builder
      • timeLastEvent

        public CryptoAnalysisResult.Builder timeLastEvent​(Date timeLastEvent)
        Time of the last event in the analysis.
        Parameters:
        timeLastEvent - the value to set
        Returns:
        this builder
      • totalEventCount

        public CryptoAnalysisResult.Builder totalEventCount​(Integer totalEventCount)
        Total number of events in the analysis.
        Parameters:
        totalEventCount - the value to set
        Returns:
        this builder
      • summarizedEventCount

        public CryptoAnalysisResult.Builder summarizedEventCount​(Integer summarizedEventCount)
        Total number of summarized events.

        Summarized events are deduplicated events of interest.

        Parameters:
        summarizedEventCount - the value to set
        Returns:
        this builder
      • findingCount

        public CryptoAnalysisResult.Builder findingCount​(Integer findingCount)
        Total number of findings with the analysis.
        Parameters:
        findingCount - the value to set
        Returns:
        this builder
      • nonCompliantFindingCount

        public CryptoAnalysisResult.Builder nonCompliantFindingCount​(Integer nonCompliantFindingCount)
        Total number of non-compliant findings with the analysis.

        A non-compliant finding means the application won’t work properly with the changes introduced by the Crypto Roadmap version used by the analysis.

        Parameters:
        nonCompliantFindingCount - the value to set
        Returns:
        this builder
      • timeCreated

        public CryptoAnalysisResult.Builder timeCreated​(Date timeCreated)
        The time the result is compiled.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeStarted

        public CryptoAnalysisResult.Builder timeStarted​(Date timeStarted)
        The time the JFR recording has started.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeFinished

        public CryptoAnalysisResult.Builder timeFinished​(Date timeFinished)
        The time the JFR recording has finished.
        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • cryptoRoadmapVersion

        public CryptoAnalysisResult.Builder cryptoRoadmapVersion​(String cryptoRoadmapVersion)
        The Crypto Roadmap version used to perform the analysis.
        Parameters:
        cryptoRoadmapVersion - the value to set
        Returns:
        this builder
      • namespace

        public CryptoAnalysisResult.Builder namespace​(String namespace)
        The Object Storage namespace of this analysis result.
        Parameters:
        namespace - the value to set
        Returns:
        this builder
      • bucketName

        public CryptoAnalysisResult.Builder bucketName​(String bucketName)
        The Object Storage bucket name of this analysis result.
        Parameters:
        bucketName - the value to set
        Returns:
        this builder
      • objectName

        public CryptoAnalysisResult.Builder objectName​(String objectName)
        The Object Storage object name of this analysis result.
        Parameters:
        objectName - the value to set
        Returns:
        this builder