Class HostEndpointProtectionScanResult.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.HostEndpointProtectionScanResult.Builder
-
- Enclosing class:
- HostEndpointProtectionScanResult
public static class HostEndpointProtectionScanResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public HostEndpointProtectionScanResult.Builder id(String id)
Unique identifier of the scan- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public HostEndpointProtectionScanResult.Builder displayName(String displayName)
Name of the resource- Parameters:
displayName
- the value to set- Returns:
- this builder
-
instanceId
public HostEndpointProtectionScanResult.Builder instanceId(String instanceId)
Instance ID of the Compute Instance scanned- Parameters:
instanceId
- the value to set- Returns:
- this builder
-
compartmentId
public HostEndpointProtectionScanResult.Builder compartmentId(String compartmentId)
Compartment ID of the resource.This is set to the same as the compartment ID of the scan target
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeStarted
public HostEndpointProtectionScanResult.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeFinished
public HostEndpointProtectionScanResult.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339- Parameters:
timeFinished
- the value to set- Returns:
- this builder
-
problemSeverity
public HostEndpointProtectionScanResult.Builder problemSeverity(ScanResultProblemSeverity problemSeverity)
Problem severity in this report- Parameters:
problemSeverity
- the value to set- Returns:
- this builder
-
endpointProtectionsCount
public HostEndpointProtectionScanResult.Builder endpointProtectionsCount(Integer endpointProtectionsCount)
Total number of endpoint protections found in this scan- Parameters:
endpointProtectionsCount
- the value to set- Returns:
- this builder
-
endpointProtections
public HostEndpointProtectionScanResult.Builder endpointProtections(List<HostEndpointProtectionScanResultEndpointProtection> endpointProtections)
List of endpoint protections found in this scan- Parameters:
endpointProtections
- the value to set- Returns:
- this builder
-
lifecycleState
public HostEndpointProtectionScanResult.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the result.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public HostEndpointProtectionScanResult build()
-
copy
public HostEndpointProtectionScanResult.Builder copy(HostEndpointProtectionScanResult model)
-
-