public static class EventSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EventSummary |
build() |
EventSummary.Builder |
copy(EventSummary model) |
EventSummary.Builder |
count(Integer count)
Event occurrence count.
|
EventSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
EventSummary.Builder |
eventType(EventType eventType)
Type of the event.
|
EventSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
EventSummary.Builder |
id(String id)
OCID identifier of the event
|
EventSummary.Builder |
instanceId(String instanceId)
Unique OCI identifier of the instance where the event occurred
|
EventSummary.Builder |
summary(String summary)
human readable description of the event
|
EventSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
EventSummary.Builder |
timestamp(Date timestamp)
Time of the occurrence of the event
|
public EventSummary.Builder id(String id)
OCID identifier of the event
id
- the value to setpublic EventSummary.Builder instanceId(String instanceId)
Unique OCI identifier of the instance where the event occurred
instanceId
- the value to setpublic EventSummary.Builder summary(String summary)
human readable description of the event
summary
- the value to setpublic EventSummary.Builder eventType(EventType eventType)
Type of the event.
eventType
- the value to setpublic EventSummary.Builder count(Integer count)
Event occurrence count. Number of time the same event happened on the system.
count
- the value to setpublic EventSummary.Builder timestamp(Date timestamp)
Time of the occurrence of the event
timestamp
- the value to setpublic EventSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic EventSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic EventSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic EventSummary build()
public EventSummary.Builder copy(EventSummary model)
Copyright © 2016–2024. All rights reserved.