Interface EventCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventCondition.Builder,
,EventCondition> SdkBuilder<EventCondition.Builder,
,EventCondition> SdkPojo
- Enclosing class:
EventCondition
public static interface EventCondition.Builder
extends SdkPojo, CopyableBuilder<EventCondition.Builder,EventCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventCondition.Builder
dimensions
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaEventDimensions.builder()
.When the
Consumer
completes,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.
-