public static class HostAgentScanResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostAgentScanResult |
build() |
HostAgentScanResult.Builder |
compartmentId(String compartmentId)
Compartment ID of the resource.
|
HostAgentScanResult.Builder |
copy(HostAgentScanResult model) |
HostAgentScanResult.Builder |
displayName(String displayName)
Name of the resource
|
HostAgentScanResult.Builder |
highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report
|
HostAgentScanResult.Builder |
id(String id)
Unique identifier of the scan
|
HostAgentScanResult.Builder |
instanceId(String instanceId)
Instance ID of the Compute Instance scanned
|
HostAgentScanResult.Builder |
kernelVersion(String kernelVersion)
Kernel version of the operating system
|
HostAgentScanResult.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the result.
|
HostAgentScanResult.Builder |
operatingSystem(String operatingSystem)
Operating system of the host
|
HostAgentScanResult.Builder |
problemCount(Integer problemCount)
Total number of problems found in this scan
|
HostAgentScanResult.Builder |
problems(List<HostAgentScanResultProblem> problems)
List of problems found in this scan
|
HostAgentScanResult.Builder |
timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC
3339
|
HostAgentScanResult.Builder |
timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC
3339
|
HostAgentScanResult.Builder |
vendor(VendorType vendor)
Vendor which was used for this host scan agent.
|
public HostAgentScanResult.Builder id(String id)
Unique identifier of the scan
id
- the value to setpublic HostAgentScanResult.Builder displayName(String displayName)
Name of the resource
displayName
- the value to setpublic HostAgentScanResult.Builder instanceId(String instanceId)
Instance ID of the Compute Instance scanned
instanceId
- the value to setpublic HostAgentScanResult.Builder compartmentId(String compartmentId)
Compartment ID of the resource. This is set to the same as the compartment ID of the scan target
compartmentId
- the value to setpublic HostAgentScanResult.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report
highestProblemSeverity
- the value to setpublic HostAgentScanResult.Builder operatingSystem(String operatingSystem)
Operating system of the host
operatingSystem
- the value to setpublic HostAgentScanResult.Builder kernelVersion(String kernelVersion)
Kernel version of the operating system
kernelVersion
- the value to setpublic HostAgentScanResult.Builder problemCount(Integer problemCount)
Total number of problems found in this scan
problemCount
- the value to setpublic HostAgentScanResult.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339
timeStarted
- the value to setpublic HostAgentScanResult.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339
timeFinished
- the value to setpublic HostAgentScanResult.Builder problems(List<HostAgentScanResultProblem> problems)
List of problems found in this scan
problems
- the value to setpublic HostAgentScanResult.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the result.
lifecycleState
- the value to setpublic HostAgentScanResult.Builder vendor(VendorType vendor)
Vendor which was used for this host scan agent.
vendor
- the value to setpublic HostAgentScanResult build()
public HostAgentScanResult.Builder copy(HostAgentScanResult model)
Copyright © 2016–2024. All rights reserved.