public static class EventSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EventSummary |
build() |
EventSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
EventSummary.Builder |
copy(EventSummary model) |
EventSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
EventSummary.Builder |
eventSummary(String eventSummary)
Summary of the event.
|
EventSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
EventSummary.Builder |
id(String id)
The OCID
of the event.
|
EventSummary.Builder |
isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether the event occurred on a resource that is managed by the Autonomous
Linux service.
|
EventSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Describes the current state of the event in more detail.
|
EventSummary.Builder |
lifecycleState(Event.LifecycleState lifecycleState)
The current state of the event.
|
EventSummary.Builder |
resourceId(String resourceId)
The OCID
of the managed instance or resource where the event occurred.
|
EventSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
EventSummary.Builder |
timeCreated(Date timeCreated)
The date and time that the event was created (in RFC
3339 format).
|
EventSummary.Builder |
timeOccurred(Date timeOccurred)
The date and time that the event occurred (in RFC
3339 format).
|
EventSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time that the event was updated (in RFC
3339 format).
|
EventSummary.Builder |
type(EventType type)
Type of event.
|
public EventSummary.Builder id(String id)
The OCID of the event.
id
- the value to setpublic EventSummary.Builder eventSummary(String eventSummary)
Summary of the event.
eventSummary
- the value to setpublic EventSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic EventSummary.Builder type(EventType type)
Type of event.
type
- the value to setpublic EventSummary.Builder resourceId(String resourceId)
The OCID of the managed instance or resource where the event occurred.
resourceId
- the value to setpublic EventSummary.Builder timeCreated(Date timeCreated)
The date and time that the event was created (in RFC 3339 format).
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic EventSummary.Builder timeUpdated(Date timeUpdated)
The date and time that the event was updated (in RFC 3339 format).
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic EventSummary.Builder timeOccurred(Date timeOccurred)
The date and time that the event occurred (in RFC 3339 format).
Example: 2016-08-25T21:10:29.600Z
timeOccurred
- the value to setpublic EventSummary.Builder lifecycleState(Event.LifecycleState lifecycleState)
The current state of the event.
lifecycleState
- the value to setpublic EventSummary.Builder lifecycleDetails(String lifecycleDetails)
Describes the current state of the event in more detail. For example, the message can provide actionable information for a resource in the ‘FAILED’ state.
lifecycleDetails
- the value to setpublic EventSummary.Builder isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
isManagedByAutonomousLinux
- the value to setpublic EventSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags.
Example: {"Department": "Finance"}
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. For
more information, see Resource
Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic EventSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. 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.