Interface ManagedApiEventSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedApiEventSummary.Builder,,ManagedApiEventSummary> SdkBuilder<ManagedApiEventSummary.Builder,,ManagedApiEventSummary> SdkPojo
- Enclosing class:
ManagedApiEventSummary
@Mutable
@NotThreadSafe
public static interface ManagedApiEventSummary.Builder
extends SdkPojo, CopyableBuilder<ManagedApiEventSummary.Builder,ManagedApiEventSummary>
-
Method Summary
Modifier and TypeMethodDescriptionWhen the event completed; absent while it is still in progress.Event identifier; row identity and input to GetManagedApiEvent.Always WAF_API_SECURITY today.Always WAF_API_SECURITY today.When the event was first observed.Sets the value of the Status property for this object.status(EventStatus status) Sets the value of the Status property for this object.When the event was last updated.default ManagedApiEventSummary.BuilderwafApiSecurityEventDetail(Consumer<WafApiSecurityEventDetail.Builder> wafApiSecurityEventDetail) Detail specific to a WAF API-security event; populated when eventType is WAF_API_SECURITY.wafApiSecurityEventDetail(WafApiSecurityEventDetail wafApiSecurityEventDetail) Detail specific to a WAF API-security event; populated when eventType is WAF_API_SECURITY.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
-
eventId
Event identifier; row identity and input to GetManagedApiEvent.
- Parameters:
eventId- Event identifier; row identity and input to GetManagedApiEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
Always WAF_API_SECURITY today.
- Parameters:
eventType- Always WAF_API_SECURITY today.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
Always WAF_API_SECURITY today.
- Parameters:
eventType- Always WAF_API_SECURITY today.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wafApiSecurityEventDetail
ManagedApiEventSummary.Builder wafApiSecurityEventDetail(WafApiSecurityEventDetail wafApiSecurityEventDetail) Detail specific to a WAF API-security event; populated when eventType is WAF_API_SECURITY.
- Parameters:
wafApiSecurityEventDetail- Detail specific to a WAF API-security event; populated when eventType is WAF_API_SECURITY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafApiSecurityEventDetail
default ManagedApiEventSummary.Builder wafApiSecurityEventDetail(Consumer<WafApiSecurityEventDetail.Builder> wafApiSecurityEventDetail) Detail specific to a WAF API-security event; populated when eventType is WAF_API_SECURITY.
This is a convenience method that creates an instance of theWafApiSecurityEventDetail.Builderavoiding the need to create one manually viaWafApiSecurityEventDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towafApiSecurityEventDetail(WafApiSecurityEventDetail).- Parameters:
wafApiSecurityEventDetail- a consumer that will call methods onWafApiSecurityEventDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
When the event was first observed.
- Parameters:
startedAt- When the event was first observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
When the event completed; absent while it is still in progress.
- Parameters:
endedAt- When the event completed; absent while it is still in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
When the event was last updated.
- Parameters:
updatedAt- When the event was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-