Class AuditEvent.Builder

  • Enclosing class:
    AuditEvent

    public static final class AuditEvent.Builder
    extends Object
    • Method Detail

      • activity

        public AuditEvent.Builder activity​(String activity)
        “Friendly name of the activity.”
        Parameters:
        activity - value of activity property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • activityDateTime

        public AuditEvent.Builder activityDateTime​(OffsetDateTime activityDateTime)
        “The date time in UTC when the activity was performed.”
        Parameters:
        activityDateTime - value of activityDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • activityOperationType

        public AuditEvent.Builder activityOperationType​(String activityOperationType)
        “The HTTP operation type of the activity.”
        Parameters:
        activityOperationType - value of activityOperationType property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • activityResult

        public AuditEvent.Builder activityResult​(String activityResult)
        “The result of the activity.”
        Parameters:
        activityResult - value of activityResult property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • activityType

        public AuditEvent.Builder activityType​(String activityType)
        “The type of activity that was being performed.”
        Parameters:
        activityType - value of activityType property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • actor

        public AuditEvent.Builder actor​(AuditActor actor)
        “AAD user and application that are associated with the audit event.”
        Parameters:
        actor - value of actor property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • category

        public AuditEvent.Builder category​(String category)
        “Audit category.”
        Parameters:
        category - value of category property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • componentName

        public AuditEvent.Builder componentName​(String componentName)
        “Component name.”
        Parameters:
        componentName - value of componentName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • correlationId

        public AuditEvent.Builder correlationId​(String correlationId)
        “The client request Id that is used to correlate activity within the system.”
        Parameters:
        correlationId - value of correlationId property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public AuditEvent.Builder displayName​(String displayName)
        “Event display name.”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resources

        public AuditEvent.Builder resources​(List<AuditResource> resources)
        “Resources being modified.”
        Parameters:
        resources - value of resources property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resources

        public AuditEvent.Builder resources​(AuditResource... resources)
        “Resources being modified.”
        Parameters:
        resources - value of resources property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resourcesNextLink

        public AuditEvent.Builder resourcesNextLink​(String resourcesNextLink)
        “Resources being modified.”
        Parameters:
        resourcesNextLink - value of resources@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)