Interface ApiSecurityEventDetail.Builder

  • Method Details

    • label

      The fully qualified name of the label that WAF assigned to the event. For example, awswaf:managed:aws:api-security:credential-stuffing-high.

      Parameters:
      label - The fully qualified name of the label that WAF assigned to the event. For example, awswaf:managed:aws:api-security:credential-stuffing-high.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • category

      The API security threat category of the event. For example, API2:2023.

      Parameters:
      category - The API security threat category of the event. For example, API2:2023.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidence

      ApiSecurityEventDetail.Builder confidence(String confidence)

      The confidence level of the event detection: LOW, MEDIUM, or HIGH.

      Parameters:
      confidence - The confidence level of the event detection: LOW, MEDIUM, or HIGH.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      The confidence level of the event detection: LOW, MEDIUM, or HIGH.

      Parameters:
      confidence - The confidence level of the event detection: LOW, MEDIUM, or HIGH.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • apiPatterns

      The API patterns that the event involves. The list contains up to 20 API patterns.

      Parameters:
      apiPatterns - The API patterns that the event involves. The list contains up to 20 API patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiPatterns

      ApiSecurityEventDetail.Builder apiPatterns(ApiPattern... apiPatterns)

      The API patterns that the event involves. The list contains up to 20 API patterns.

      Parameters:
      apiPatterns - The API patterns that the event involves. The list contains up to 20 API patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiPatterns

      The API patterns that the event involves. The list contains up to 20 API patterns.

      This is a convenience method that creates an instance of the ApiPattern.Builder avoiding the need to create one manually via ApiPattern.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to apiPatterns(List<ApiPattern>).

      Parameters:
      apiPatterns - a consumer that will call methods on ApiPattern.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventActors

      The event actors that are associated with the event. The list contains up to 20 event actors. To retrieve the details of an event actor, provide its EventActorId to GetEventActor.

      Parameters:
      eventActors - The event actors that are associated with the event. The list contains up to 20 event actors. To retrieve the details of an event actor, provide its EventActorId to GetEventActor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventActors

      The event actors that are associated with the event. The list contains up to 20 event actors. To retrieve the details of an event actor, provide its EventActorId to GetEventActor.

      Parameters:
      eventActors - The event actors that are associated with the event. The list contains up to 20 event actors. To retrieve the details of an event actor, provide its EventActorId to GetEventActor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventActors

      The event actors that are associated with the event. The list contains up to 20 event actors. To retrieve the details of an event actor, provide its EventActorId to GetEventActor.

      This is a convenience method that creates an instance of the EventActorReference.Builder avoiding the need to create one manually via EventActorReference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventActors(List<EventActorReference>).

      Parameters:
      eventActors - a consumer that will call methods on EventActorReference.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeline

      The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest. The list contains up to 32 entries.

      For ListEvents and ListEventsByWebACL, this is returned only if you specify TIMELINE in the request Include setting.

      Parameters:
      timeline - The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest. The list contains up to 32 entries.

      For ListEvents and ListEventsByWebACL, this is returned only if you specify TIMELINE in the request Include setting.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeline

      The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest. The list contains up to 32 entries.

      For ListEvents and ListEventsByWebACL, this is returned only if you specify TIMELINE in the request Include setting.

      Parameters:
      timeline - The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest. The list contains up to 32 entries.

      For ListEvents and ListEventsByWebACL, this is returned only if you specify TIMELINE in the request Include setting.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeline

      The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest. The list contains up to 32 entries.

      For ListEvents and ListEventsByWebACL, this is returned only if you specify TIMELINE in the request Include setting.

      This is a convenience method that creates an instance of the EventTimelineEntry.Builder avoiding the need to create one manually via EventTimelineEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to timeline(List<EventTimelineEntry>).

      Parameters:
      timeline - a consumer that will call methods on EventTimelineEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: