public static class UpdateHostScanTargetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateHostScanTargetDetails.Builder displayName(String displayName)
Target identifier, which can be renamed. Avoid entering confidential information.
displayName
- the value to setpublic UpdateHostScanTargetDetails.Builder description(String description)
Target description.
description
- the value to setpublic UpdateHostScanTargetDetails.Builder targetCompartmentId(String targetCompartmentId)
Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment.
targetCompartmentId
- the value to setpublic UpdateHostScanTargetDetails.Builder instanceIds(List<String> instanceIds)
List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId.
instanceIds
- the value to setpublic UpdateHostScanTargetDetails.Builder hostScanRecipeId(String hostScanRecipeId)
ID of the host scan recipe this target applies.
hostScanRecipeId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic UpdateHostScanTargetDetails build()
public UpdateHostScanTargetDetails.Builder copy(UpdateHostScanTargetDetails model)
Copyright © 2016–2024. All rights reserved.