Class ContainerScanTarget.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.ContainerScanTarget.Builder
 
- 
- Enclosing class:
- ContainerScanTarget
 
 public static class ContainerScanTarget.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerScanTargetbuild()ContainerScanTarget.BuildercompartmentId(String compartmentId)The OCID of the container scan target’s compartmentContainerScanTarget.BuildercontainerScanRecipeId(String containerScanRecipeId)ID of the container scan recipe this target applies.ContainerScanTarget.Buildercopy(ContainerScanTarget model)ContainerScanTarget.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ContainerScanTarget.Builderdescription(String description)Target description.ContainerScanTarget.BuilderdisplayName(String displayName)User friendly name of container scan targetContainerScanTarget.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ContainerScanTarget.Builderid(String id)The OCID of container scan target.ContainerScanTarget.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the config.ContainerScanTarget.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ContainerScanTarget.BuildertargetRegistry(ContainerScanRegistry targetRegistry)ContainerScanTarget.BuildertimeCreated(Date timeCreated)Date and time the target was created, format as described in RFC 3339ContainerScanTarget.BuildertimeUpdated(Date timeUpdated)Date and time the target was last updated, format as described in RFC 3339
 
- 
- 
- 
Method Detail- 
idpublic ContainerScanTarget.Builder id(String id) The OCID of container scan target.Immutable and generated on creation. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ContainerScanTarget.Builder displayName(String displayName) User friendly name of container scan target- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ContainerScanTarget.Builder description(String description) Target description.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ContainerScanTarget.Builder compartmentId(String compartmentId) The OCID of the container scan target’s compartment- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
targetRegistrypublic ContainerScanTarget.Builder targetRegistry(ContainerScanRegistry targetRegistry) 
 - 
containerScanRecipeIdpublic ContainerScanTarget.Builder containerScanRecipeId(String containerScanRecipeId) ID of the container scan recipe this target applies.- Parameters:
- containerScanRecipeId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ContainerScanTarget.Builder lifecycleState(LifecycleState lifecycleState) The current state of the config.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ContainerScanTarget.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 ContainerScanTarget.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 ContainerScanTarget.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 ContainerScanTarget.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 ContainerScanTarget.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 ContainerScanTarget build() 
 - 
copypublic ContainerScanTarget.Builder copy(ContainerScanTarget model) 
 
- 
 
-