public static class HostScanTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostScanTarget |
build() |
HostScanTarget.Builder |
compartmentId(String compartmentId)
Compartment ID of the object (this).
|
HostScanTarget.Builder |
copy(HostScanTarget model) |
HostScanTarget.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
HostScanTarget.Builder |
description(String description)
Target description.
|
HostScanTarget.Builder |
displayName(String displayName)
Target identifier, which can be renamed.
|
HostScanTarget.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
HostScanTarget.Builder |
hostScanRecipeId(String hostScanRecipeId)
ID of the host scan recipe this target applies.
|
HostScanTarget.Builder |
id(String id)
Unique identifier of the config that is immutable on creation
|
HostScanTarget.Builder |
instanceIds(List<String> instanceIds)
List of compute instance IDs to target (optional).
|
HostScanTarget.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the config.
|
HostScanTarget.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
HostScanTarget.Builder |
targetCompartmentId(String targetCompartmentId)
Compartment ID to target.
|
HostScanTarget.Builder |
timeCreated(Date timeCreated)
Date and time the target was created, format as described in RFC
3339
|
HostScanTarget.Builder |
timeUpdated(Date timeUpdated)
Date and time the target was last updated, format as described in RFC
3339
|
public HostScanTarget.Builder id(String id)
Unique identifier of the config that is immutable on creation
id
- the value to setpublic HostScanTarget.Builder displayName(String displayName)
Target identifier, which can be renamed.
displayName
- the value to setpublic HostScanTarget.Builder description(String description)
Target description.
description
- the value to setpublic HostScanTarget.Builder compartmentId(String compartmentId)
Compartment ID of the object (this).
compartmentId
- the value to setpublic HostScanTarget.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 HostScanTarget.Builder instanceIds(List<String> instanceIds)
List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId.
instanceIds
- the value to setpublic HostScanTarget.Builder hostScanRecipeId(String hostScanRecipeId)
ID of the host scan recipe this target applies.
hostScanRecipeId
- the value to setpublic HostScanTarget.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the config.
lifecycleState
- the value to setpublic HostScanTarget.Builder timeCreated(Date timeCreated)
Date and time the target was created, format as described in RFC 3339
timeCreated
- the value to setpublic HostScanTarget.Builder timeUpdated(Date timeUpdated)
Date and time the target was last updated, format as described in RFC 3339
timeUpdated
- the value to setpublic HostScanTarget.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 HostScanTarget.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 HostScanTarget.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"}}
systemTags
- the value to setpublic HostScanTarget build()
public HostScanTarget.Builder copy(HostScanTarget model)
Copyright © 2016–2024. All rights reserved.