Class AuditEvent.Builder
-
- All Implemented Interfaces:
public final class AuditEvent.BuilderA builder for AuditEvent.
-
-
Method Summary
-
-
Method Detail
-
actor
final AuditEvent.Builder actor(AuditEvent.Actor actor)
-
actor
final AuditEvent.Builder actor(JsonField<AuditEvent.Actor> actor)
Sets Builder.actor to an arbitrary JSON value.
You should usually call Builder.actor with a well-typed Actor value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
auditEventId
final AuditEvent.Builder auditEventId(String auditEventId)
-
auditEventId
final AuditEvent.Builder auditEventId(JsonField<String> auditEventId)
Sets Builder.auditEventId to an arbitrary JSON value.
You should usually call Builder.auditEventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final AuditEvent.Builder source(String source)
-
source
final AuditEvent.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
target
final AuditEvent.Builder target(String target)
-
target
final AuditEvent.Builder target(JsonField<String> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timestamp
final AuditEvent.Builder timestamp(String timestamp)
-
timestamp
final AuditEvent.Builder timestamp(JsonField<String> timestamp)
Sets Builder.timestamp to an arbitrary JSON value.
You should usually call Builder.timestamp with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final AuditEvent.Builder type(String type)
-
type
final AuditEvent.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AuditEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuditEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuditEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuditEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuditEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuditEvent build()
Returns an immutable instance of AuditEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.actor() .auditEventId() .source() .target() .timestamp() .type()
-
-
-
-