Class UpdateHostScanTargetDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.UpdateHostScanTargetDetails.Builder
-
- Enclosing class:
- UpdateHostScanTargetDetails
public static class UpdateHostScanTargetDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public UpdateHostScanTargetDetails.Builder displayName(String displayName)
Target identifier, which can be renamed.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateHostScanTargetDetails.Builder description(String description)
Target description.- Parameters:
description
- the value to set- Returns:
- this builder
-
targetCompartmentId
public UpdateHostScanTargetDetails.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
-
instanceIds
public UpdateHostScanTargetDetails.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
-
hostScanRecipeId
public UpdateHostScanTargetDetails.Builder hostScanRecipeId(String hostScanRecipeId)
ID of the host scan recipe this target applies.- Parameters:
hostScanRecipeId
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateHostScanTargetDetails.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 UpdateHostScanTargetDetails.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
-
build
public UpdateHostScanTargetDetails build()
-
copy
public UpdateHostScanTargetDetails.Builder copy(UpdateHostScanTargetDetails model)
-
-