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