Package com.oracle.bmc.cloudguard.model
Class ResourceProfileSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ResourceProfileSummary.Builder
-
- Enclosing class:
- ResourceProfileSummary
public static class ResourceProfileSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceProfileSummary
build()
ResourceProfileSummary.Builder
copy(ResourceProfileSummary model)
ResourceProfileSummary.Builder
displayName(String displayName)
Display name for the resource profileResourceProfileSummary.Builder
id(String id)
Unique identifier for the resource profileResourceProfileSummary.Builder
problemsCount(Integer problemsCount)
Number of problems associated with this resource profileResourceProfileSummary.Builder
resourceId(String resourceId)
Unique identifier for the resource associated with the resource profileResourceProfileSummary.Builder
riskScore(Double riskScore)
Risk score for the resource profileResourceProfileSummary.Builder
sightingsCount(Integer sightingsCount)
Number of sightings associated with the resource profileResourceProfileSummary.Builder
tactics(List<TacticSummary> tactics)
List of tactic summaries associated with the resource profileResourceProfileSummary.Builder
timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected.ResourceProfileSummary.Builder
timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed.ResourceProfileSummary.Builder
timeLastDetected(Date timeLastDetected)
Time the activities were last detected.ResourceProfileSummary.Builder
timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed.ResourceProfileSummary.Builder
type(String type)
Resource type for the resource profile
-
-
-
Method Detail
-
sightingsCount
public ResourceProfileSummary.Builder sightingsCount(Integer sightingsCount)
Number of sightings associated with the resource profile- Parameters:
sightingsCount
- the value to set- Returns:
- this builder
-
id
public ResourceProfileSummary.Builder id(String id)
Unique identifier for the resource profile- Parameters:
id
- the value to set- Returns:
- this builder
-
resourceId
public ResourceProfileSummary.Builder resourceId(String resourceId)
Unique identifier for the resource associated with the resource profile- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
displayName
public ResourceProfileSummary.Builder displayName(String displayName)
Display name for the resource profile- Parameters:
displayName
- the value to set- Returns:
- this builder
-
type
public ResourceProfileSummary.Builder type(String type)
Resource type for the resource profile- Parameters:
type
- the value to set- Returns:
- this builder
-
riskScore
public ResourceProfileSummary.Builder riskScore(Double riskScore)
Risk score for the resource profile- Parameters:
riskScore
- the value to set- Returns:
- this builder
-
tactics
public ResourceProfileSummary.Builder tactics(List<TacticSummary> tactics)
List of tactic summaries associated with the resource profile- Parameters:
tactics
- the value to set- Returns:
- this builder
-
timeFirstDetected
public ResourceProfileSummary.Builder timeFirstDetected(Date timeFirstDetected)
Time the activities were first detected.Format defined by RFC3339.
- Parameters:
timeFirstDetected
- the value to set- Returns:
- this builder
-
timeLastDetected
public ResourceProfileSummary.Builder timeLastDetected(Date timeLastDetected)
Time the activities were last detected.Format defined by RFC3339.
- Parameters:
timeLastDetected
- the value to set- Returns:
- this builder
-
timeFirstOccurred
public ResourceProfileSummary.Builder timeFirstOccurred(Date timeFirstOccurred)
Time the activities were first performed.Format defined by RFC3339.
- Parameters:
timeFirstOccurred
- the value to set- Returns:
- this builder
-
timeLastOccurred
public ResourceProfileSummary.Builder timeLastOccurred(Date timeLastOccurred)
Time the activities were last performed.Format defined by RFC3339.
- Parameters:
timeLastOccurred
- the value to set- Returns:
- this builder
-
problemsCount
public ResourceProfileSummary.Builder problemsCount(Integer problemsCount)
Number of problems associated with this resource profile- Parameters:
problemsCount
- the value to set- Returns:
- this builder
-
build
public ResourceProfileSummary build()
-
copy
public ResourceProfileSummary.Builder copy(ResourceProfileSummary model)
-
-