@Generated(value="OracleSDKGenerator", comments="API Version: 20190901") public final class Data extends Object
The payload of the event. Information within data
comes from the resource emitting the event.
Data.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 Data.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
Data.Builder |
Constructor and Description |
---|
Data(String eventGroupingId,
String eventName,
String compartmentId,
String compartmentName,
String resourceName,
String resourceId,
String availabilityDomain,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Identity identity,
Request request,
Response response,
StateChange stateChange,
Map<String,Object> additionalDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Data.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Map<String,Object> |
getAdditionalDetails()
A container object for attribues unique to the resource emitting the event.
|
String |
getAvailabilityDomain()
The availability domain where the resource resides.
|
String |
getCompartmentId()
The OCID of the compartment of the resource
emitting the event.
|
String |
getCompartmentName()
The name of the compartment.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getEventGroupingId()
This value links multiple audit events that are part of the same API operation.
|
String |
getEventName()
Name of the API operation that generated this event.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
Identity |
getIdentity() |
Request |
getRequest() |
String |
getResourceId()
An OCID or some other ID for the resource
emitting the event.
|
String |
getResourceName()
The name of the resource emitting the event.
|
Response |
getResponse() |
StateChange |
getStateChange() |
int |
hashCode() |
Data.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"eventGroupingId","eventName","compartmentId","compartmentName","resourceName","resourceId","availabilityDomain","freeformTags","definedTags","identity","request","response","stateChange","additionalDetails"}) @Deprecated public Data(String eventGroupingId, String eventName, String compartmentId, String compartmentName, String resourceName, String resourceId, String availabilityDomain, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Identity identity, Request request, Response response, StateChange stateChange, Map<String,Object> additionalDetails)
public static Data.Builder builder()
Create a new builder.
public Data.Builder toBuilder()
public String getEventGroupingId()
This value links multiple audit events that are part of the same API operation. For example, a long running API operations that emit an event at the start and the end of an operation would use the same value in this field for both events.
public String getEventName()
Name of the API operation that generated this event.
Example: `GetInstance`
public String getCompartmentId()
The OCID of the compartment of the resource emitting the event.
public String getCompartmentName()
The name of the compartment. This value is the friendly name associated with compartmentId. This value can change, but the service logs the value that appeared at the time of the audit event.
Example: `CompartmentA`
public String getResourceName()
The name of the resource emitting the event.
public String getResourceId()
An OCID or some other ID for the resource emitting the event.
public String getAvailabilityDomain()
The availability domain where the resource resides.
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.
Example: `{\"Department\": \"Finance\"}`
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
public Identity getIdentity()
public Request getRequest()
public Response getResponse()
public StateChange getStateChange()
public Map<String,Object> getAdditionalDetails()
A container object for attribues unique to the resource emitting the event.
Example:
-----
{
\"imageId\": \"ocid1.image.oc1.phx.
Copyright © 2016–2021. All rights reserved.