Package com.oracle.bmc.datasafe.model
Class FindingSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.FindingSummary.Builder
 
- 
- Enclosing class:
- FindingSummary
 
 public static class FindingSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FindingSummary.BuilderassessmentId(String assessmentId)The OCID of the assessment that generated this finding.FindingSummarybuild()FindingSummary.Buildercategory(String category)The category to which the finding belongs to.FindingSummary.Buildercopy(FindingSummary model)FindingSummary.Builderdetails(Object details)The details of the finding.FindingSummary.Builderdoclink(String doclink)Documentation link provided by Oracle that explains a specific security finding or check.FindingSummary.BuilderhasTargetDbRiskLevelChanged(Boolean hasTargetDbRiskLevelChanged)Determines if this risk level has changed on the target database since the last time ‘severity’ was modified by user.FindingSummary.BuilderisRiskModified(Boolean isRiskModified)Determines if this risk level was modified by user.FindingSummary.BuilderisTopFinding(Boolean isTopFinding)Indicates whether a given finding is marked as topFinding or not.FindingSummary.Builderjustification(String justification)User provided reason for accepting or modifying this finding if they choose to do so.FindingSummary.Builderkey(String key)The unique finding key.FindingSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the finding.FindingSummary.BuilderlifecycleState(FindingLifecycleState lifecycleState)The current state of the finding.FindingSummary.Builderoneline(String oneline)Provides a recommended approach to take to remediate the finding reported.FindingSummary.BuilderoracleDefinedSeverity(Finding.Severity oracleDefinedSeverity)The severity of the finding as determined by security assessment.FindingSummary.Builderreferences(References references)Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.FindingSummary.Builderremarks(String remarks)The explanation of the issue in this finding.FindingSummary.Builderseverity(FindingSummary.Severity severity)The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.FindingSummary.Buildersummary(String summary)The brief summary of the finding.FindingSummary.BuildertargetId(String targetId)The OCID of the target database.FindingSummary.BuildertimeUpdated(Date timeUpdated)The date and time the risk level of finding was last updated, in the format defined by RFC3339.FindingSummary.BuildertimeValidUntil(Date timeValidUntil)The time until which the change in severity(deferred / modified) of this finding is valid.FindingSummary.Buildertitle(String title)The short title for the finding.
 
- 
- 
- 
Method Detail- 
severitypublic FindingSummary.Builder severity(FindingSummary.Severity severity) The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
assessmentIdpublic FindingSummary.Builder assessmentId(String assessmentId) The OCID of the assessment that generated this finding.- Parameters:
- assessmentId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic FindingSummary.Builder targetId(String targetId) The OCID of the target database.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
keypublic FindingSummary.Builder key(String key) The unique finding key.This is a system-generated identifier. To get the finding key for a finding, use ListFindings. - Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
isTopFindingpublic FindingSummary.Builder isTopFinding(Boolean isTopFinding) Indicates whether a given finding is marked as topFinding or not.- Parameters:
- isTopFinding- the value to set
- Returns:
- this builder
 
 - 
titlepublic FindingSummary.Builder title(String title) The short title for the finding.- Parameters:
- title- the value to set
- Returns:
- this builder
 
 - 
categorypublic FindingSummary.Builder category(String category) The category to which the finding belongs to.- Parameters:
- category- the value to set
- Returns:
- this builder
 
 - 
remarkspublic FindingSummary.Builder remarks(String remarks) The explanation of the issue in this finding.It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation. - Parameters:
- remarks- the value to set
- Returns:
- this builder
 
 - 
detailspublic FindingSummary.Builder details(Object details) The details of the finding.Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes. - Parameters:
- details- the value to set
- Returns:
- this builder
 
 - 
summarypublic FindingSummary.Builder summary(String summary) The brief summary of the finding.When the finding is informational, the summary typically reports only the number of data elements that were examined. - Parameters:
- summary- the value to set
- Returns:
- this builder
 
 - 
onelinepublic FindingSummary.Builder oneline(String oneline) Provides a recommended approach to take to remediate the finding reported.- Parameters:
- oneline- the value to set
- Returns:
- this builder
 
 - 
doclinkpublic FindingSummary.Builder doclink(String doclink) Documentation link provided by Oracle that explains a specific security finding or check.- Parameters:
- doclink- the value to set
- Returns:
- this builder
 
 - 
referencespublic FindingSummary.Builder references(References references) Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.- Parameters:
- references- the value to set
- Returns:
- this builder
 
 - 
oracleDefinedSeveritypublic FindingSummary.Builder oracleDefinedSeverity(Finding.Severity oracleDefinedSeverity) The severity of the finding as determined by security assessment.This cannot be modified by user. - Parameters:
- oracleDefinedSeverity- the value to set
- Returns:
- this builder
 
 - 
isRiskModifiedpublic FindingSummary.Builder isRiskModified(Boolean isRiskModified) Determines if this risk level was modified by user.- Parameters:
- isRiskModified- the value to set
- Returns:
- this builder
 
 - 
hasTargetDbRiskLevelChangedpublic FindingSummary.Builder hasTargetDbRiskLevelChanged(Boolean hasTargetDbRiskLevelChanged) Determines if this risk level has changed on the target database since the last time ‘severity’ was modified by user.- Parameters:
- hasTargetDbRiskLevelChanged- the value to set
- Returns:
- this builder
 
 - 
justificationpublic FindingSummary.Builder justification(String justification) User provided reason for accepting or modifying this finding if they choose to do so.- Parameters:
- justification- the value to set
- Returns:
- this builder
 
 - 
timeValidUntilpublic FindingSummary.Builder timeValidUntil(Date timeValidUntil) The time until which the change in severity(deferred / modified) of this finding is valid.- Parameters:
- timeValidUntil- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic FindingSummary.Builder timeUpdated(Date timeUpdated) The date and time the risk level of finding was last updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic FindingSummary.Builder lifecycleState(FindingLifecycleState lifecycleState) The current state of the finding.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic FindingSummary.Builder lifecycleDetails(String lifecycleDetails) Details about the current state of the finding.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
buildpublic FindingSummary build() 
 - 
copypublic FindingSummary.Builder copy(FindingSummary model) 
 
- 
 
-