public static class VulnerabilityScan.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VulnerabilityScan |
build() |
VulnerabilityScan.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
VulnerabilityScan.Builder |
copy(VulnerabilityScan model) |
VulnerabilityScan.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VulnerabilityScan.Builder |
displayName(String displayName)
A user-friendly name.
|
VulnerabilityScan.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
VulnerabilityScan.Builder |
id(String id)
The OCID
of the VulnerabilityScan.
|
VulnerabilityScan.Builder |
lifecycleState(VulnerabilityScan.LifecycleState lifecycleState)
The current state of the VulnerabilityScan.
|
VulnerabilityScan.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
VulnerabilityScan.Builder |
timeCreated(Date timeCreated)
The date and time the VulnerabilityScan was created, in the format defined by RFC
3339.
|
VulnerabilityScan.Builder |
timeEnded(Date timeEnded)
The date and time the VulnerabilityScan was updated, in the format defined by RFC
3339.
|
VulnerabilityScan.Builder |
vulnerabilityScanMessage(String vulnerabilityScanMessage)
The message of the vulnerability scan status.
|
VulnerabilityScan.Builder |
vulnerabilityScanStatus(VulnerabilityScan.VulnerabilityScanStatus vulnerabilityScanStatus)
The status of the vulnerability scan.
|
VulnerabilityScan.Builder |
vulnerabilityScanType(VulnerabilityScan.VulnerabilityScanType vulnerabilityScanType)
Scan type is CVE, PATCH or IMAGE_PATCH
|
public VulnerabilityScan.Builder id(String id)
The OCID of the VulnerabilityScan.
id
- the value to setpublic VulnerabilityScan.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique, and it is changeable.
displayName
- the value to setpublic VulnerabilityScan.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic VulnerabilityScan.Builder vulnerabilityScanType(VulnerabilityScan.VulnerabilityScanType vulnerabilityScanType)
Scan type is CVE, PATCH or IMAGE_PATCH
vulnerabilityScanType
- the value to setpublic VulnerabilityScan.Builder vulnerabilityScanStatus(VulnerabilityScan.VulnerabilityScanStatus vulnerabilityScanStatus)
The status of the vulnerability scan.
vulnerabilityScanStatus
- the value to setpublic VulnerabilityScan.Builder vulnerabilityScanMessage(String vulnerabilityScanMessage)
The message of the vulnerability scan status.
vulnerabilityScanMessage
- the value to setpublic VulnerabilityScan.Builder timeCreated(Date timeCreated)
The date and time the VulnerabilityScan was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic VulnerabilityScan.Builder timeEnded(Date timeEnded)
The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
timeEnded
- the value to setpublic VulnerabilityScan.Builder lifecycleState(VulnerabilityScan.LifecycleState lifecycleState)
The current state of the VulnerabilityScan.
lifecycleState
- the value to setpublic VulnerabilityScan.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"}
freeformTags
- the value to setpublic VulnerabilityScan.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 VulnerabilityScan.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic VulnerabilityScan build()
public VulnerabilityScan.Builder copy(VulnerabilityScan model)
Copyright © 2016–2025. All rights reserved.