Interface GetEventTriggerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEventTriggerResponse.Builder,
,GetEventTriggerResponse> CustomerProfilesResponse.Builder
,SdkBuilder<GetEventTriggerResponse.Builder,
,GetEventTriggerResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEventTriggerResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the event trigger was created.description
(String description) The description of the event trigger.eventTriggerConditions
(Collection<EventTriggerCondition> eventTriggerConditions) A list of conditions that determine when an event should trigger the destination.eventTriggerConditions
(Consumer<EventTriggerCondition.Builder>... eventTriggerConditions) A list of conditions that determine when an event should trigger the destination.eventTriggerConditions
(EventTriggerCondition... eventTriggerConditions) A list of conditions that determine when an event should trigger the destination.default GetEventTriggerResponse.Builder
eventTriggerLimits
(Consumer<EventTriggerLimits.Builder> eventTriggerLimits) Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.eventTriggerLimits
(EventTriggerLimits eventTriggerLimits) Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.eventTriggerName
(String eventTriggerName) The unique name of the event trigger.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp of when the event trigger was most recently updated.objectTypeName
(String objectTypeName) The unique name of the object type.segmentFilter
(String segmentFilter) The destination is triggered only for profiles that meet the criteria of a segment definition.An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
eventTriggerName
The unique name of the event trigger.
- Parameters:
eventTriggerName
- The unique name of the event trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectTypeName
The unique name of the object type.
- Parameters:
objectTypeName
- The unique name of the object type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the event trigger.
- Parameters:
description
- The description of the event trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTriggerConditions
GetEventTriggerResponse.Builder eventTriggerConditions(Collection<EventTriggerCondition> eventTriggerConditions) A list of conditions that determine when an event should trigger the destination.
- Parameters:
eventTriggerConditions
- A list of conditions that determine when an event should trigger the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTriggerConditions
GetEventTriggerResponse.Builder eventTriggerConditions(EventTriggerCondition... eventTriggerConditions) A list of conditions that determine when an event should trigger the destination.
- Parameters:
eventTriggerConditions
- A list of conditions that determine when an event should trigger the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTriggerConditions
GetEventTriggerResponse.Builder eventTriggerConditions(Consumer<EventTriggerCondition.Builder>... eventTriggerConditions) A list of conditions that determine when an event should trigger the destination.
This is a convenience method that creates an instance of theEventTriggerCondition.Builder
avoiding the need to create one manually viaEventTriggerCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventTriggerConditions(List<EventTriggerCondition>)
.- Parameters:
eventTriggerConditions
- a consumer that will call methods onEventTriggerCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentFilter
The destination is triggered only for profiles that meet the criteria of a segment definition.
- Parameters:
segmentFilter
- The destination is triggered only for profiles that meet the criteria of a segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTriggerLimits
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
- Parameters:
eventTriggerLimits
- Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTriggerLimits
default GetEventTriggerResponse.Builder eventTriggerLimits(Consumer<EventTriggerLimits.Builder> eventTriggerLimits) Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
This is a convenience method that creates an instance of theEventTriggerLimits.Builder
avoiding the need to create one manually viaEventTriggerLimits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventTriggerLimits(EventTriggerLimits)
.- Parameters:
eventTriggerLimits
- a consumer that will call methods onEventTriggerLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp of when the event trigger was created.
- Parameters:
createdAt
- The timestamp of when the event trigger was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp of when the event trigger was most recently updated.
- Parameters:
lastUpdatedAt
- The timestamp of when the event trigger was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key-value pairs to apply to this resource.
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-