Package com.oracle.bmc.dblm.model
Class VulnerabilityScanSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dblm.model.VulnerabilityScanSummary.Builder
-
- Enclosing class:
- VulnerabilityScanSummary
public static class VulnerabilityScanSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public VulnerabilityScanSummary.Builder id(String id)
The OCID of the VulnerabilityScan.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public VulnerabilityScanSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public VulnerabilityScanSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
vulnerabilityScanType
public VulnerabilityScanSummary.Builder vulnerabilityScanType(VulnerabilityScan.VulnerabilityScanType vulnerabilityScanType)
Vulnerability Scan Type.- Parameters:
vulnerabilityScanType
- the value to set- Returns:
- this builder
-
vulnerabilityScanStatus
public VulnerabilityScanSummary.Builder vulnerabilityScanStatus(VulnerabilityScan.VulnerabilityScanStatus vulnerabilityScanStatus)
The status of the scan.- Parameters:
vulnerabilityScanStatus
- the value to set- Returns:
- this builder
-
vulnerabilityScanMessage
public VulnerabilityScanSummary.Builder vulnerabilityScanMessage(String vulnerabilityScanMessage)
The message of the scan status.- Parameters:
vulnerabilityScanMessage
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeEnded
public 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
- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
lifecycleState
public VulnerabilityScanSummary.Builder lifecycleState(VulnerabilityScan.LifecycleState lifecycleState)
The current state of the PatchOperation.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public VulnerabilityScanSummary build()
-
copy
public VulnerabilityScanSummary.Builder copy(VulnerabilityScanSummary model)
-
-