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 Id for resource profile
|
ResourceProfile.Builder |
copy(ResourceProfile model) |
ResourceProfile.Builder |
displayName(String displayName)
Resource name for resource profile
|
ResourceProfile.Builder |
id(String id)
Unique identifier for resource profile
|
ResourceProfile.Builder |
peakRiskScore(Double peakRiskScore)
Peak Risk Score for the resource profile
|
ResourceProfile.Builder |
problemIds(List<String> problemIds)
List of Problems associated with the resource profile.
|
ResourceProfile.Builder |
resourceId(String resourceId)
Unique identifier for 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 this resource profile
|
ResourceProfile.Builder |
tactics(List<TacticSummary> tactics)
List of tactic summary associated with the resource profile.
|
ResourceProfile.Builder |
targetId(String targetId)
Target Id for resource profile
|
ResourceProfile.Builder |
timeFirstDetected(Date timeFirstDetected)
The date and time the resource profile was first detected.
|
ResourceProfile.Builder |
timeLastDetected(Date timeLastDetected)
The date and time the resource profile was last detected.
|
ResourceProfile.Builder |
timePeakScore(Date timePeakScore)
The date and time for peak risk score.
|
ResourceProfile.Builder |
type(String type)
Resource type for resource profile
|
public ResourceProfile.Builder sightingsCount(Integer sightingsCount)
Number of sightings associated with this resource profile
sightingsCount
- the value to setpublic ResourceProfile.Builder id(String id)
Unique identifier for resource profile
id
- the value to setpublic ResourceProfile.Builder resourceId(String resourceId)
Unique identifier for resource profile
resourceId
- the value to setpublic ResourceProfile.Builder displayName(String displayName)
Resource name for resource profile
displayName
- the value to setpublic ResourceProfile.Builder type(String type)
Resource type for resource profile
type
- the value to setpublic ResourceProfile.Builder problemIds(List<String> problemIds)
List of Problems associated with the resource profile.
problemIds
- the value to setpublic ResourceProfile.Builder compartmentId(String compartmentId)
Compartment Id for resource profile
compartmentId
- the value to setpublic ResourceProfile.Builder targetId(String targetId)
Target Id for 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 peak risk score. Format defined by RFC3339.
timePeakScore
- the value to setpublic ResourceProfile.Builder timeFirstDetected(Date timeFirstDetected)
The date and time the resource profile was first detected. Format defined by RFC3339.
timeFirstDetected
- the value to setpublic ResourceProfile.Builder timeLastDetected(Date timeLastDetected)
The date and time the resource profile was last detected. Format defined by RFC3339.
timeLastDetected
- the value to setpublic ResourceProfile.Builder tactics(List<TacticSummary> tactics)
List of tactic summary associated with the resource profile.
tactics
- the value to setpublic ResourceProfile build()
public ResourceProfile.Builder copy(ResourceProfile model)
Copyright © 2016–2023. All rights reserved.