Package com.oracle.bmc.dblm.model
Class VulnerabilityScan.Builder
- java.lang.Object
- 
- com.oracle.bmc.dblm.model.VulnerabilityScan.Builder
 
- 
- Enclosing class:
- VulnerabilityScan
 
 public static class VulnerabilityScan.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VulnerabilityScanbuild()VulnerabilityScan.BuildercompartmentId(String compartmentId)The OCID of the compartment.VulnerabilityScan.Buildercopy(VulnerabilityScan model)VulnerabilityScan.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.VulnerabilityScan.BuilderdisplayName(String displayName)A user-friendly name.VulnerabilityScan.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.VulnerabilityScan.Builderid(String id)The OCID of the VulnerabilityScan.VulnerabilityScan.BuilderlifecycleState(VulnerabilityScan.LifecycleState lifecycleState)The current state of the VulnerabilityScan.VulnerabilityScan.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.VulnerabilityScan.BuildertimeCreated(Date timeCreated)The date and time the VulnerabilityScan was created, in the format defined by RFC 3339.VulnerabilityScan.BuildertimeEnded(Date timeEnded)The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339.VulnerabilityScan.BuildervulnerabilityScanMessage(String vulnerabilityScanMessage)The message of the vulnerability scan status.VulnerabilityScan.BuildervulnerabilityScanStatus(VulnerabilityScan.VulnerabilityScanStatus vulnerabilityScanStatus)The status of the vulnerability scan.VulnerabilityScan.BuildervulnerabilityScanType(VulnerabilityScan.VulnerabilityScanType vulnerabilityScanType)Scan type is CVE, PATCH or IMAGE_PATCH
 
- 
- 
- 
Method Detail- 
idpublic VulnerabilityScan.Builder id(String id) The OCID of the VulnerabilityScan.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic VulnerabilityScan.Builder displayName(String displayName) A user-friendly name.It does not have to be unique, and it is changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic VulnerabilityScan.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
vulnerabilityScanTypepublic VulnerabilityScan.Builder vulnerabilityScanType(VulnerabilityScan.VulnerabilityScanType vulnerabilityScanType) Scan type is CVE, PATCH or IMAGE_PATCH- Parameters:
- vulnerabilityScanType- the value to set
- Returns:
- this builder
 
 - 
vulnerabilityScanStatuspublic VulnerabilityScan.Builder vulnerabilityScanStatus(VulnerabilityScan.VulnerabilityScanStatus vulnerabilityScanStatus) The status of the vulnerability scan.- Parameters:
- vulnerabilityScanStatus- the value to set
- Returns:
- this builder
 
 - 
vulnerabilityScanMessagepublic VulnerabilityScan.Builder vulnerabilityScanMessage(String vulnerabilityScanMessage) The message of the vulnerability scan status.- Parameters:
- vulnerabilityScanMessage- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic 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 - Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic VulnerabilityScan.Builder lifecycleState(VulnerabilityScan.LifecycleState lifecycleState) The current state of the VulnerabilityScan.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic VulnerabilityScan build() 
 - 
copypublic VulnerabilityScan.Builder copy(VulnerabilityScan model) 
 
- 
 
-