public static class ResourceProfile.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
build() |
ResourceProfile.Builder |
compartmentId(String compartmentId)
Compartment OCID for the resource profile
|
ResourceProfile.Builder |
copy(ResourceProfile model) |
ResourceProfile.Builder |
displayName(String displayName)
Display name for the resource profile
|
ResourceProfile.Builder |
id(String id)
Unique identifier for the resource profile
|
ResourceProfile.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
ResourceProfile.Builder |
peakRiskScore(Double peakRiskScore)
Peak risk score for the resource profile
|
ResourceProfile.Builder |
problemIds(List<String> problemIds)
List of problems IDs associated with the resource profile
|
ResourceProfile.Builder |
resourceId(String resourceId)
Unique identifier for the resource associated with the resource profile
|
ResourceProfile.Builder |
riskLevel(RiskLevel riskLevel)
Risk level associated with resource profile
|
ResourceProfile.Builder |
riskScore(Double riskScore)
Risk score for the resource profile
|
ResourceProfile.Builder |
sightingsCount(Integer sightingsCount)
Number of sightings associated with the resource profile
|
ResourceProfile.Builder |
tactics(List<TacticSummary> tactics)
List of tactic summaries associated with the resource profile
|
ResourceProfile.Builder |
targetId(String targetId)
Unique target ID for the resource profile
|
ResourceProfile.Builder |
timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected.
|
ResourceProfile.Builder |
timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed.
|
ResourceProfile.Builder |
timeLastDetected(Date timeLastDetected)
Time the activities were last detected.
|
ResourceProfile.Builder |
timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed.
|
ResourceProfile.Builder |
timePeakScore(Date timePeakScore)
The date and time for the peak risk score.
|
ResourceProfile.Builder |
type(String type)
Resource type for the resource profile
|
public ResourceProfile.Builder sightingsCount(Integer sightingsCount)
Number of sightings associated with the resource profile
sightingsCount
- the value to setpublic ResourceProfile.Builder id(String id)
Unique identifier for the resource profile
id
- the value to setpublic ResourceProfile.Builder resourceId(String resourceId)
Unique identifier for the resource associated with the resource profile
resourceId
- the value to setpublic ResourceProfile.Builder displayName(String displayName)
Display name for the resource profile
displayName
- the value to setpublic ResourceProfile.Builder type(String type)
Resource type for the resource profile
type
- the value to setpublic ResourceProfile.Builder problemIds(List<String> problemIds)
List of problems IDs associated with the resource profile
problemIds
- the value to setpublic ResourceProfile.Builder compartmentId(String compartmentId)
Compartment OCID for the resource profile
compartmentId
- the value to setpublic ResourceProfile.Builder targetId(String targetId)
Unique target ID for the resource profile
targetId
- the value to setpublic ResourceProfile.Builder riskScore(Double riskScore)
Risk score for the resource profile
riskScore
- the value to setpublic ResourceProfile.Builder riskLevel(RiskLevel riskLevel)
Risk level associated with resource profile
riskLevel
- the value to setpublic ResourceProfile.Builder peakRiskScore(Double peakRiskScore)
Peak risk score for the resource profile
peakRiskScore
- the value to setpublic ResourceProfile.Builder timePeakScore(Date timePeakScore)
The date and time for the peak risk score. Format defined by RFC3339.
timePeakScore
- the value to setpublic ResourceProfile.Builder timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected. Format defined by RFC3339.
timeFirstDetected
- the value to setpublic ResourceProfile.Builder timeLastDetected(Date timeLastDetected)
Time the activities were last detected. Format defined by RFC3339.
timeLastDetected
- the value to setpublic ResourceProfile.Builder timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed. Format defined by RFC3339.
timeFirstOccurred
- the value to setpublic ResourceProfile.Builder timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed. Format defined by RFC3339.
timeLastOccurred
- the value to setpublic ResourceProfile.Builder tactics(List<TacticSummary> tactics)
List of tactic summaries associated with the resource profile
tactics
- the value to setpublic ResourceProfile.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic ResourceProfile build()
public ResourceProfile.Builder copy(ResourceProfile model)
Copyright © 2016–2024. All rights reserved.