Interface EventCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventCondition.Builder,,EventCondition> SdkBuilder<EventCondition.Builder,,EventCondition> SdkPojo
- Enclosing class:
EventCondition
@Mutable
@NotThreadSafe
public static interface EventCondition.Builder
extends SdkPojo, CopyableBuilder<EventCondition.Builder,EventCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventCondition.Builderdimensions(Consumer<EventDimensions.Builder> dimensions) The dimensions for the event filter to use for the activity.dimensions(EventDimensions dimensions) The dimensions for the event filter to use for the activity.messageActivity(String messageActivity) The message identifier (message_id) for the message to use when determining whether message events meet the condition.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
-
dimensions
The dimensions for the event filter to use for the activity.
- Parameters:
dimensions- The dimensions for the event filter to use for the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions for the event filter to use for the activity.
This is a convenience method that creates an instance of theEventDimensions.Builderavoiding the need to create one manually viaEventDimensions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(EventDimensions).- Parameters:
dimensions- a consumer that will call methods onEventDimensions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageActivity
The message identifier (message_id) for the message to use when determining whether message events meet the condition.
- Parameters:
messageActivity- The message identifier (message_id) for the message to use when determining whether message events meet the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-