public static class VulnerabilityScanSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public VulnerabilityScanSummary.Builder id(String id)
The OCID of the VulnerabilityScan.
id
- the value to setpublic VulnerabilityScanSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable.
displayName
- the value to setpublic VulnerabilityScanSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic VulnerabilityScanSummary.Builder vulnerabilityScanType(VulnerabilityScan.VulnerabilityScanType vulnerabilityScanType)
Vulnerability Scan Type.
vulnerabilityScanType
- the value to setpublic VulnerabilityScanSummary.Builder vulnerabilityScanStatus(VulnerabilityScan.VulnerabilityScanStatus vulnerabilityScanStatus)
The status of the scan.
vulnerabilityScanStatus
- the value to setpublic VulnerabilityScanSummary.Builder vulnerabilityScanMessage(String vulnerabilityScanMessage)
The message of the scan status.
vulnerabilityScanMessage
- the value to setpublic VulnerabilityScanSummary.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 VulnerabilityScanSummary.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 VulnerabilityScanSummary.Builder lifecycleState(VulnerabilityScan.LifecycleState lifecycleState)
The current state of the PatchOperation.
lifecycleState
- the value to setpublic VulnerabilityScanSummary.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 VulnerabilityScanSummary.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 VulnerabilityScanSummary.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 VulnerabilityScanSummary build()
public VulnerabilityScanSummary.Builder copy(VulnerabilityScanSummary model)
Copyright © 2016–2025. All rights reserved.