Package com.oracle.bmc.cloudguard.model
Class ResourceVulnerability.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.ResourceVulnerability.Builder
 
- 
- Enclosing class:
- ResourceVulnerability
 
 public static class ResourceVulnerability.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic ResourceVulnerability.Builder id(String id) The cve id of the vulnerability- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ResourceVulnerability.Builder description(String description) The description of the vulnerability- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
riskLevelpublic ResourceVulnerability.Builder riskLevel(CveRiskLevel riskLevel) The Risk Level- Parameters:
- riskLevel- the value to set
- Returns:
- this builder
 
 - 
urlpublic ResourceVulnerability.Builder url(String url) URL of the CVE- Parameters:
- url- the value to set
- Returns:
- this builder
 
 - 
timeFirstDetectedpublic ResourceVulnerability.Builder timeFirstDetected(Date timeFirstDetected) First detected time- Parameters:
- timeFirstDetected- the value to set
- Returns:
- this builder
 
 - 
timeLastDetectedpublic ResourceVulnerability.Builder timeLastDetected(Date timeLastDetected) First detected time- Parameters:
- timeLastDetected- the value to set
- Returns:
- this builder
 
 - 
timePublishedpublic ResourceVulnerability.Builder timePublished(Date timePublished) Time the vulnerability was published- Parameters:
- timePublished- the value to set
- Returns:
- this builder
 
 - 
timeLastModifiedpublic ResourceVulnerability.Builder timeLastModified(Date timeLastModified) Time the vulnerability was last modified- Parameters:
- timeLastModified- the value to set
- Returns:
- this builder
 
 - 
cvssScorepublic ResourceVulnerability.Builder cvssScore(String cvssScore) cvssScore of CVE- Parameters:
- cvssScore- the value to set
- Returns:
- this builder
 
 - 
packageDetailspublic ResourceVulnerability.Builder packageDetails(List<PackageDetail> packageDetails) list for packages causing vulnerability- Parameters:
- packageDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ResourceVulnerability.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} Avoid entering confidential information. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ResourceVulnerability.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ResourceVulnerability.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ResourceVulnerability build() 
 - 
copypublic ResourceVulnerability.Builder copy(ResourceVulnerability model) 
 
- 
 
-