Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Data.Builder |
additionalDetails(Map<String,Object> additionalDetails)
A container object for attribues unique to the resource emitting the event.
|
Data.Builder |
availabilityDomain(String availabilityDomain)
The availability domain where the resource resides.
|
Data |
build() |
Data.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment of the resource emitting the event.
|
Data.Builder |
compartmentName(String compartmentName)
The name of the compartment.
|
Data.Builder |
copy(Data model) |
Data.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Data.Builder |
eventGroupingId(String eventGroupingId)
This value links multiple audit events that are part of the same API operation.
|
Data.Builder |
eventName(String eventName)
Name of the API operation that generated this event.
|
Data.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Data.Builder |
identity(Identity identity) |
Data.Builder |
request(Request request) |
Data.Builder |
resourceId(String resourceId)
An OCID or some
other ID for the resource emitting the event.
|
Data.Builder |
resourceName(String resourceName)
The name of the resource emitting the event.
|
Data.Builder |
response(Response response) |
Data.Builder |
stateChange(StateChange stateChange) |
public Data.Builder eventGroupingId(String eventGroupingId)
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.
eventGroupingId
- the value to setpublic Data.Builder eventName(String eventName)
Name of the API operation that generated this event.
Example: GetInstance
eventName
- the value to setpublic Data.Builder compartmentId(String compartmentId)
The OCID of the compartment of the resource emitting the event.
compartmentId
- the value to setpublic Data.Builder compartmentName(String compartmentName)
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
compartmentName
- the value to setpublic Data.Builder resourceName(String resourceName)
The name of the resource emitting the event.
resourceName
- the value to setpublic Data.Builder resourceId(String resourceId)
An OCID or some other ID for the resource emitting the event.
resourceId
- the value to setpublic Data.Builder availabilityDomain(String availabilityDomain)
The availability domain where the resource resides.
availabilityDomain
- the value to setpublic Data.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. Exists for cross-compatibility only. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic Data.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 Data.Builder identity(Identity identity)
public Data.Builder request(Request request)
public Data.Builder response(Response response)
public Data.Builder stateChange(StateChange stateChange)
public Data.Builder additionalDetails(Map<String,Object> additionalDetails)
A container object for attribues unique to the resource emitting the event.
Example:
----- { "imageId": "ocid1.image.oc1.phx.
additionalDetails
- the value to setpublic Data build()
public Data.Builder copy(Data model)
Copyright © 2016–2024. All rights reserved.