public static class ResourceVulnerabilitySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceVulnerabilitySummary |
build() |
ResourceVulnerabilitySummary.Builder |
copy(ResourceVulnerabilitySummary model) |
ResourceVulnerabilitySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ResourceVulnerabilitySummary.Builder |
description(String description)
The description of the vulnerability
|
ResourceVulnerabilitySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ResourceVulnerabilitySummary.Builder |
id(String id)
The cve id of the vulnerability
|
ResourceVulnerabilitySummary.Builder |
riskLevel(CveRiskLevel riskLevel)
The Risk Level
|
ResourceVulnerabilitySummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
public ResourceVulnerabilitySummary.Builder id(String id)
The cve id of the vulnerability
id
- the value to setpublic ResourceVulnerabilitySummary.Builder description(String description)
The description of the vulnerability
description
- the value to setpublic ResourceVulnerabilitySummary.Builder riskLevel(CveRiskLevel riskLevel)
The Risk Level
riskLevel
- the value to setpublic ResourceVulnerabilitySummary.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.
freeformTags
- the value to setpublic ResourceVulnerabilitySummary.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"}}
definedTags
- the value to setpublic ResourceVulnerabilitySummary.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"}}
systemTags
- the value to setpublic ResourceVulnerabilitySummary build()
public ResourceVulnerabilitySummary.Builder copy(ResourceVulnerabilitySummary model)
Copyright © 2016–2024. All rights reserved.