@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class AgentEvent extends Event
Provides information about the agent event.
Note: Objects should always be created or deserialized using the AgentEvent.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AgentEvent.Builder
, which maintain a
set of all explicitly set fields called AgentEvent.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AgentEvent.Builder |
Event.LifecycleState
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AgentEvent(String id,
String eventSummary,
String compartmentId,
String eventDetails,
String resourceId,
SystemDetails systemDetails,
Date timeOccurred,
Date timeCreated,
Date timeUpdated,
Event.LifecycleState lifecycleState,
String lifecycleDetails,
Boolean isManagedByAutonomousLinux,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
AgentEventData data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AgentEvent.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AgentEventData |
getData() |
int |
hashCode() |
AgentEvent.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getEventDetails, getEventSummary, getFreeformTags, getId, getIsManagedByAutonomousLinux, getLifecycleDetails, getLifecycleState, getResourceId, getSystemDetails, getSystemTags, getTimeCreated, getTimeOccurred, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public AgentEvent(String id, String eventSummary, String compartmentId, String eventDetails, String resourceId, SystemDetails systemDetails, Date timeOccurred, Date timeCreated, Date timeUpdated, Event.LifecycleState lifecycleState, String lifecycleDetails, Boolean isManagedByAutonomousLinux, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, AgentEventData data)
public static AgentEvent.Builder builder()
Create a new builder.
public AgentEvent.Builder toBuilder()
public AgentEventData getData()
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.