Class ResourceProfile.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sightingsCount

        public ResourceProfile.Builder sightingsCount​(Integer sightingsCount)
        Number of sightings associated with the resource profile
        Parameters:
        sightingsCount - the value to set
        Returns:
        this builder
      • id

        public ResourceProfile.Builder id​(String id)
        Unique identifier for the resource profile
        Parameters:
        id - the value to set
        Returns:
        this builder
      • resourceId

        public ResourceProfile.Builder resourceId​(String resourceId)
        Unique identifier for the resource associated with the resource profile
        Parameters:
        resourceId - the value to set
        Returns:
        this builder
      • displayName

        public ResourceProfile.Builder displayName​(String displayName)
        Display name for the resource profile
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • type

        public ResourceProfile.Builder type​(String type)
        Resource type for the resource profile
        Parameters:
        type - the value to set
        Returns:
        this builder
      • problemIds

        public ResourceProfile.Builder problemIds​(List<String> problemIds)
        List of problems IDs associated with the resource profile
        Parameters:
        problemIds - the value to set
        Returns:
        this builder
      • compartmentId

        public ResourceProfile.Builder compartmentId​(String compartmentId)
        Compartment OCID for the resource profile
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • targetId

        public ResourceProfile.Builder targetId​(String targetId)
        Unique target ID for the resource profile
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • riskScore

        public ResourceProfile.Builder riskScore​(Double riskScore)
        Risk score for the resource profile
        Parameters:
        riskScore - the value to set
        Returns:
        this builder
      • riskLevel

        public ResourceProfile.Builder riskLevel​(RiskLevel riskLevel)
        Risk level associated with resource profile
        Parameters:
        riskLevel - the value to set
        Returns:
        this builder
      • peakRiskScore

        public ResourceProfile.Builder peakRiskScore​(Double peakRiskScore)
        Peak risk score for the resource profile
        Parameters:
        peakRiskScore - the value to set
        Returns:
        this builder
      • timePeakScore

        public ResourceProfile.Builder timePeakScore​(Date timePeakScore)
        The date and time for the peak risk score.

        Format defined by RFC3339.

        Parameters:
        timePeakScore - the value to set
        Returns:
        this builder
      • timeFirstDetected

        public ResourceProfile.Builder timeFirstDetected​(Date timeFirstDetected)
        Time the activities were first detected.

        Format defined by RFC3339.

        Parameters:
        timeFirstDetected - the value to set
        Returns:
        this builder
      • timeLastDetected

        public ResourceProfile.Builder timeLastDetected​(Date timeLastDetected)
        Time the activities were last detected.

        Format defined by RFC3339.

        Parameters:
        timeLastDetected - the value to set
        Returns:
        this builder
      • timeFirstOccurred

        public ResourceProfile.Builder timeFirstOccurred​(Date timeFirstOccurred)
        Time the activities were first performed.

        Format defined by RFC3339.

        Parameters:
        timeFirstOccurred - the value to set
        Returns:
        this builder
      • timeLastOccurred

        public ResourceProfile.Builder timeLastOccurred​(Date timeLastOccurred)
        Time the activities were last performed.

        Format defined by RFC3339.

        Parameters:
        timeLastOccurred - the value to set
        Returns:
        this builder
      • tactics

        public ResourceProfile.Builder tactics​(List<TacticSummary> tactics)
        List of tactic summaries associated with the resource profile
        Parameters:
        tactics - the value to set
        Returns:
        this builder