Class Data
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.audit.model.Data
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190901") public final class Data extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe payload of the event.Information within data comes from the resource emitting the event. 
 Note: Objects should always be created or deserialized using theData.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 theData.Builder, which maintain a set of all explicitly set fields calledData.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classData.Builder
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Data.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,Object>getAdditionalDetails()A container object for attribues unique to the resource emitting the event.StringgetAvailabilityDomain()The availability domain where the resource resides.StringgetCompartmentId()The OCID of the compartment of the resource emitting the event.StringgetCompartmentName()The name of the compartment.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetEventGroupingId()This value links multiple audit events that are part of the same API operation.StringgetEventName()Name of the API operation that generated this event.Map<String,String>getFreeformTags()Free-form tags for this resource.IdentitygetIdentity()RequestgetRequest()StringgetResourceId()An OCID or some other ID for the resource emitting the event.StringgetResourceName()The name of the resource emitting the event.ResponsegetResponse()StateChangegetStateChange()inthashCode()Data.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Data@Deprecated @ConstructorProperties({"eventGroupingId","eventName","compartmentId","compartmentName","resourceName","resourceId","availabilityDomain","freeformTags","definedTags","identity","request","response","stateChange","additionalDetails"}) 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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Data.Builder builder() Create a new builder.
 - 
toBuilderpublic Data.Builder toBuilder() 
 - 
getEventGroupingIdpublic 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. - Returns:
- the value
 
 - 
getEventNamepublic String getEventName() Name of the API operation that generated this event.Example: GetInstance - Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment of the resource emitting the event.- Returns:
- the value
 
 - 
getCompartmentNamepublic 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 - Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() The name of the resource emitting the event.- Returns:
- the value
 
 - 
getResourceIdpublic String getResourceId() An OCID or some other ID for the resource emitting the event.- Returns:
- the value
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() The availability domain where the resource resides.- Returns:
- the value
 
 - 
getFreeformTagspublic 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"} - Returns:
- the value
 
 - 
getDefinedTagspublic 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"}} - Returns:
- the value
 
 - 
getIdentitypublic Identity getIdentity() 
 - 
getRequestpublic Request getRequest() 
 - 
getResponsepublic Response getResponse() 
 - 
getStateChangepublic StateChange getStateChange() 
 - 
getAdditionalDetailspublic Map<String,Object> getAdditionalDetails() A container object for attribues unique to the resource emitting the event.Example: ----- { "imageId": "ocid1.image.oc1.phx. ", "shape": "VM.Standard1.1", "type": "CustomerVmi" } ----- - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-