Interface ApiSecurityEventDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApiSecurityEventDetail.Builder,,ApiSecurityEventDetail> SdkBuilder<ApiSecurityEventDetail.Builder,,ApiSecurityEventDetail> SdkPojo
- Enclosing class:
ApiSecurityEventDetail
-
Method Summary
Modifier and TypeMethodDescriptionapiPatterns(Collection<ApiPattern> apiPatterns) The API patterns that the event involves.apiPatterns(Consumer<ApiPattern.Builder>... apiPatterns) The API patterns that the event involves.apiPatterns(ApiPattern... apiPatterns) The API patterns that the event involves.The API security threat category of the event.confidence(String confidence) The confidence level of the event detection:LOW,MEDIUM, orHIGH.confidence(Confidence confidence) The confidence level of the event detection:LOW,MEDIUM, orHIGH.eventActors(Collection<EventActorReference> eventActors) The event actors that are associated with the event.eventActors(Consumer<EventActorReference.Builder>... eventActors) The event actors that are associated with the event.eventActors(EventActorReference... eventActors) The event actors that are associated with the event.The fully qualified name of the label that WAF assigned to the event.timeline(Collection<EventTimelineEntry> timeline) The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest.timeline(Consumer<EventTimelineEntry.Builder>... timeline) The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest.timeline(EventTimelineEntry... timeline) The changes to the event's label, confidence, and API patterns over time, ordered from oldest to newest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
The confidence level of the event detection:
LOW,MEDIUM, orHIGH.- Parameters:
confidence- The confidence level of the event detection:LOW,MEDIUM, orHIGH.- 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, orHIGH.- Parameters:
confidence- The confidence level of the event detection:LOW,MEDIUM, orHIGH.- 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
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 theApiPattern.Builderavoiding the need to create one manually viaApiPattern.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiPatterns(List<ApiPattern>).- Parameters:
apiPatterns- a consumer that will call methods onApiPattern.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
EventActorIdto 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 itsEventActorIdto 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
EventActorIdto 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 itsEventActorIdto 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
This is a convenience method that creates an instance of theEventActorIdto GetEventActor.EventActorReference.Builderavoiding the need to create one manually viaEventActorReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventActors(List<EventActorReference>).- Parameters:
eventActors- a consumer that will call methods onEventActorReference.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
TIMELINEin the requestIncludesetting.- 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
TIMELINEin the requestIncludesetting.- 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
TIMELINEin the requestIncludesetting.- 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
TIMELINEin the requestIncludesetting.- 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
This is a convenience method that creates an instance of theTIMELINEin the requestIncludesetting.EventTimelineEntry.Builderavoiding the need to create one manually viaEventTimelineEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeline(List<EventTimelineEntry>).- Parameters:
timeline- a consumer that will call methods onEventTimelineEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-