public static class HostScanTargetErrorSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostScanTargetErrorSummary.Builder vendor(VendorType vendor)
Vendor which was used for the host scan agent.
vendor
- the value to setpublic HostScanTargetErrorSummary.Builder task(String task)
Task during scan which failed.
task
- the value to setpublic HostScanTargetErrorSummary.Builder message(String message)
Error message detailing task failure.
message
- the value to setpublic HostScanTargetErrorSummary.Builder errorCode(String errorCode)
Error code of task failure.
errorCode
- the value to setpublic HostScanTargetErrorSummary.Builder instanceId(String instanceId)
OCID of the host instance where scan was done.
instanceId
- the value to setpublic HostScanTargetErrorSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the config.
lifecycleState
- the value to setpublic HostScanTargetErrorSummary.Builder timeUpdated(Date timeUpdated)
Date and time the error was updated, format as described in RFC 3339.
timeUpdated
- the value to setpublic HostScanTargetErrorSummary.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 HostScanTargetErrorSummary.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 HostScanTargetErrorSummary.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 HostScanTargetErrorSummary build()
public HostScanTargetErrorSummary.Builder copy(HostScanTargetErrorSummary model)
Copyright © 2016–2024. All rights reserved.