Class AuditLogEvent.Builder
- java.lang.Object
-
- com.merge.api.resources.ats.types.AuditLogEvent.Builder
-
- All Implemented Interfaces:
AuditLogEvent._FinalStage,AuditLogEvent.EventDescriptionStage,AuditLogEvent.EventTypeStage,AuditLogEvent.IpAddressStage,AuditLogEvent.RoleStage
- Enclosing class:
- AuditLogEvent
public static final class AuditLogEvent.Builder extends java.lang.Object implements AuditLogEvent.RoleStage, AuditLogEvent.IpAddressStage, AuditLogEvent.EventTypeStage, AuditLogEvent.EventDescriptionStage, AuditLogEvent._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogEventbuild()AuditLogEvent._FinalStagecreatedAt(java.time.OffsetDateTime createdAt)AuditLogEvent._FinalStagecreatedAt(java.util.Optional<java.time.OffsetDateTime> createdAt)AuditLogEvent._FinalStageeventDescription(java.lang.String eventDescription)AuditLogEvent.EventDescriptionStageeventType(AuditLogEventEventType eventType)Designates the type of event that occurred.AuditLogEvent.Builderfrom(AuditLogEvent other)AuditLogEvent._FinalStageid(java.lang.String id)AuditLogEvent._FinalStageid(java.util.Optional<java.lang.String> id)AuditLogEvent.EventTypeStageipAddress(java.lang.String ipAddress)AuditLogEvent.IpAddressStagerole(AuditLogEventRole role)Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring.AuditLogEvent._FinalStageuserEmail(java.lang.String userEmail)The User's email at the time of this Event occurring.AuditLogEvent._FinalStageuserEmail(java.util.Optional<java.lang.String> userEmail)AuditLogEvent._FinalStageuserName(java.lang.String userName)The User's full name at the time of this Event occurring.AuditLogEvent._FinalStageuserName(java.util.Optional<java.lang.String> userName)
-
-
-
Method Detail
-
from
public AuditLogEvent.Builder from(AuditLogEvent other)
- Specified by:
fromin interfaceAuditLogEvent.RoleStage
-
role
public AuditLogEvent.IpAddressStage role(AuditLogEventRole role)
Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring.
ADMIN- ADMINDEVELOPER- DEVELOPERMEMBER- MEMBERAPI- APISYSTEM- SYSTEMMERGE_TEAM- MERGE_TEAM
- Specified by:
rolein interfaceAuditLogEvent.RoleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ipAddress
public AuditLogEvent.EventTypeStage ipAddress(java.lang.String ipAddress)
- Specified by:
ipAddressin interfaceAuditLogEvent.IpAddressStage
-
eventType
public AuditLogEvent.EventDescriptionStage eventType(AuditLogEventEventType eventType)
Designates the type of event that occurred.
CREATED_REMOTE_PRODUCTION_API_KEY- CREATED_REMOTE_PRODUCTION_API_KEYDELETED_REMOTE_PRODUCTION_API_KEY- DELETED_REMOTE_PRODUCTION_API_KEYCREATED_TEST_API_KEY- CREATED_TEST_API_KEYDELETED_TEST_API_KEY- DELETED_TEST_API_KEYREGENERATED_PRODUCTION_API_KEY- REGENERATED_PRODUCTION_API_KEYINVITED_USER- INVITED_USERTWO_FACTOR_AUTH_ENABLED- TWO_FACTOR_AUTH_ENABLEDTWO_FACTOR_AUTH_DISABLED- TWO_FACTOR_AUTH_DISABLEDDELETED_LINKED_ACCOUNT- DELETED_LINKED_ACCOUNTCREATED_DESTINATION- CREATED_DESTINATIONDELETED_DESTINATION- DELETED_DESTINATIONCHANGED_DESTINATION- CHANGED_DESTINATIONCHANGED_SCOPES- CHANGED_SCOPESCHANGED_PERSONAL_INFORMATION- CHANGED_PERSONAL_INFORMATIONCHANGED_ORGANIZATION_SETTINGS- CHANGED_ORGANIZATION_SETTINGSENABLED_INTEGRATION- ENABLED_INTEGRATIONDISABLED_INTEGRATION- DISABLED_INTEGRATIONENABLED_CATEGORY- ENABLED_CATEGORYDISABLED_CATEGORY- DISABLED_CATEGORYCHANGED_PASSWORD- CHANGED_PASSWORDRESET_PASSWORD- RESET_PASSWORDENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION- ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATIONENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT- ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNTDISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION- DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATIONDISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT- DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNTCREATED_INTEGRATION_WIDE_FIELD_MAPPING- CREATED_INTEGRATION_WIDE_FIELD_MAPPINGCREATED_LINKED_ACCOUNT_FIELD_MAPPING- CREATED_LINKED_ACCOUNT_FIELD_MAPPINGCHANGED_INTEGRATION_WIDE_FIELD_MAPPING- CHANGED_INTEGRATION_WIDE_FIELD_MAPPINGCHANGED_LINKED_ACCOUNT_FIELD_MAPPING- CHANGED_LINKED_ACCOUNT_FIELD_MAPPINGDELETED_INTEGRATION_WIDE_FIELD_MAPPING- DELETED_INTEGRATION_WIDE_FIELD_MAPPINGDELETED_LINKED_ACCOUNT_FIELD_MAPPING- DELETED_LINKED_ACCOUNT_FIELD_MAPPINGFORCED_LINKED_ACCOUNT_RESYNC- FORCED_LINKED_ACCOUNT_RESYNCMUTED_ISSUE- MUTED_ISSUEGENERATED_MAGIC_LINK- GENERATED_MAGIC_LINKENABLED_MERGE_WEBHOOK- ENABLED_MERGE_WEBHOOKDISABLED_MERGE_WEBHOOK- DISABLED_MERGE_WEBHOOKMERGE_WEBHOOK_TARGET_CHANGED- MERGE_WEBHOOK_TARGET_CHANGEDEND_USER_CREDENTIALS_ACCESSED- END_USER_CREDENTIALS_ACCESSED
- Specified by:
eventTypein interfaceAuditLogEvent.EventTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventDescription
public AuditLogEvent._FinalStage eventDescription(java.lang.String eventDescription)
- Specified by:
eventDescriptionin interfaceAuditLogEvent.EventDescriptionStage
-
createdAt
public AuditLogEvent._FinalStage createdAt(java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceAuditLogEvent._FinalStage
-
createdAt
public AuditLogEvent._FinalStage createdAt(java.util.Optional<java.time.OffsetDateTime> createdAt)
- Specified by:
createdAtin interfaceAuditLogEvent._FinalStage
-
userEmail
public AuditLogEvent._FinalStage userEmail(java.lang.String userEmail)
The User's email at the time of this Event occurring.
- Specified by:
userEmailin interfaceAuditLogEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userEmail
public AuditLogEvent._FinalStage userEmail(java.util.Optional<java.lang.String> userEmail)
- Specified by:
userEmailin interfaceAuditLogEvent._FinalStage
-
userName
public AuditLogEvent._FinalStage userName(java.lang.String userName)
The User's full name at the time of this Event occurring.
- Specified by:
userNamein interfaceAuditLogEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userName
public AuditLogEvent._FinalStage userName(java.util.Optional<java.lang.String> userName)
- Specified by:
userNamein interfaceAuditLogEvent._FinalStage
-
id
public AuditLogEvent._FinalStage id(java.lang.String id)
- Specified by:
idin interfaceAuditLogEvent._FinalStage
-
id
public AuditLogEvent._FinalStage id(java.util.Optional<java.lang.String> id)
- Specified by:
idin interfaceAuditLogEvent._FinalStage
-
build
public AuditLogEvent build()
- Specified by:
buildin interfaceAuditLogEvent._FinalStage
-
-