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 ResourceProfileSummarybuild()ResourceProfileSummary.Buildercopy(ResourceProfileSummary model)ResourceProfileSummary.BuilderdisplayName(String displayName)Display name for the resource profileResourceProfileSummary.Builderid(String id)Unique identifier for the resource profileResourceProfileSummary.BuilderproblemsCount(Integer problemsCount)Number of problems associated with this resource profileResourceProfileSummary.BuilderresourceId(String resourceId)Unique identifier for the resource associated with the resource profileResourceProfileSummary.BuilderriskScore(Double riskScore)Risk score for the resource profileResourceProfileSummary.BuildersightingsCount(Integer sightingsCount)Number of sightings associated with the resource profileResourceProfileSummary.Buildertactics(List<TacticSummary> tactics)List of tactic summaries associated with the resource profileResourceProfileSummary.BuildertimeFirstDetected(Date timeFirstDetected)Time the activities were first detected.ResourceProfileSummary.BuildertimeFirstOccurred(Date timeFirstOccurred)Time the activities were first performed.ResourceProfileSummary.BuildertimeLastDetected(Date timeLastDetected)Time the activities were last detected.ResourceProfileSummary.BuildertimeLastOccurred(Date timeLastOccurred)Time the activities were last performed.ResourceProfileSummary.Buildertype(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)
-
-