public static class CreateHostScanTargetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateHostScanTargetDetails.Builder displayName(String displayName)
Target identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
displayName
- the value to setpublic CreateHostScanTargetDetails.Builder compartmentId(String compartmentId)
Compartment ID of the object (this).
compartmentId
- the value to setpublic CreateHostScanTargetDetails.Builder description(String description)
Target description.
description
- the value to setpublic CreateHostScanTargetDetails.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 CreateHostScanTargetDetails.Builder instanceIds(List<String> instanceIds)
List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId.
instanceIds
- the value to setpublic CreateHostScanTargetDetails.Builder hostScanRecipeId(String hostScanRecipeId)
ID of the host scan recipe this target applies.
hostScanRecipeId
- the value to setpublic CreateHostScanTargetDetails.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 CreateHostScanTargetDetails.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 CreateHostScanTargetDetails build()
public CreateHostScanTargetDetails.Builder copy(CreateHostScanTargetDetails model)
Copyright © 2016–2024. All rights reserved.