Class HostScanTargetSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.HostScanTargetSummary.Builder
 
- 
- Enclosing class:
- HostScanTargetSummary
 
 public static class HostScanTargetSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HostScanTargetSummarybuild()HostScanTargetSummary.BuildercompartmentId(String compartmentId)Compartment ID of the object (this).HostScanTargetSummary.Buildercopy(HostScanTargetSummary model)HostScanTargetSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.HostScanTargetSummary.BuilderdisplayName(String displayName)Target identifier, which can be renamed.HostScanTargetSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.HostScanTargetSummary.BuilderhostScanRecipeId(String hostScanRecipeId)ID of the host scan recipe this target applies.HostScanTargetSummary.Builderid(String id)Unique identifier of the config that is immutable on creationHostScanTargetSummary.BuilderinstanceIds(List<String> instanceIds)List of compute instance IDs to target (optional).HostScanTargetSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the config.HostScanTargetSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.HostScanTargetSummary.BuildertargetCompartmentId(String targetCompartmentId)Compartment ID to target.HostScanTargetSummary.BuildertimeCreated(Date timeCreated)Date and time the target was created, format as described in RFC 3339HostScanTargetSummary.BuildertimeUpdated(Date timeUpdated)Date and time the target was last updated, format as described in RFC 3339
 
- 
- 
- 
Method Detail- 
idpublic HostScanTargetSummary.Builder id(String id) Unique identifier of the config that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic HostScanTargetSummary.Builder displayName(String displayName) Target identifier, which can be renamed.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic HostScanTargetSummary.Builder compartmentId(String compartmentId) Compartment ID of the object (this).- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
targetCompartmentIdpublic HostScanTargetSummary.Builder targetCompartmentId(String targetCompartmentId) Compartment ID to target.If a list of hosts is provided, all hosts must be in this compartment. - Parameters:
- targetCompartmentId- the value to set
- Returns:
- this builder
 
 - 
instanceIdspublic HostScanTargetSummary.Builder instanceIds(List<String> instanceIds) List of compute instance IDs to target (optional).If empty, targets the entire targetCompartmentId. - Parameters:
- instanceIds- the value to set
- Returns:
- this builder
 
 - 
hostScanRecipeIdpublic HostScanTargetSummary.Builder hostScanRecipeId(String hostScanRecipeId) ID of the host scan recipe this target applies.- Parameters:
- hostScanRecipeId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic HostScanTargetSummary.Builder lifecycleState(LifecycleState lifecycleState) The current state of the config.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic HostScanTargetSummary.Builder timeCreated(Date timeCreated) Date and time the target was created, format as described in RFC 3339- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic HostScanTargetSummary.Builder timeUpdated(Date timeUpdated) Date and time the target was last updated, format as described in RFC 3339- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic HostScanTargetSummary.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 HostScanTargetSummary.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 HostScanTargetSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic HostScanTargetSummary build() 
 - 
copypublic HostScanTargetSummary.Builder copy(HostScanTargetSummary model) 
 
- 
 
-