public static class HostEndpointProtectionScanResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public HostEndpointProtectionScanResult.Builder id(String id)
Unique identifier of the scan
id
- the value to setpublic HostEndpointProtectionScanResult.Builder displayName(String displayName)
Name of the resource
displayName
- the value to setpublic HostEndpointProtectionScanResult.Builder instanceId(String instanceId)
Instance ID of the Compute Instance scanned
instanceId
- the value to setpublic HostEndpointProtectionScanResult.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 HostEndpointProtectionScanResult.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339
timeStarted
- the value to setpublic HostEndpointProtectionScanResult.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339
timeFinished
- the value to setpublic HostEndpointProtectionScanResult.Builder problemSeverity(ScanResultProblemSeverity problemSeverity)
Problem severity in this report
problemSeverity
- the value to setpublic HostEndpointProtectionScanResult.Builder endpointProtectionsCount(Integer endpointProtectionsCount)
Total number of endpoint protections found in this scan
endpointProtectionsCount
- the value to setpublic HostEndpointProtectionScanResult.Builder endpointProtections(List<HostEndpointProtectionScanResultEndpointProtection> endpointProtections)
List of endpoint protections found in this scan
endpointProtections
- the value to setpublic HostEndpointProtectionScanResult.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the result.
lifecycleState
- the value to setpublic HostEndpointProtectionScanResult build()
public HostEndpointProtectionScanResult.Builder copy(HostEndpointProtectionScanResult model)
Copyright © 2016–2024. All rights reserved.