Interface Source.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Source.Builder,
,Source> SdkBuilder<Source.Builder,
,Source> SdkPojo
- Enclosing class:
Source
@Mutable
@NotThreadSafe
public static interface Source.Builder
extends SdkPojo, CopyableBuilder<Source.Builder,Source>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerProfilesSegmentArn
(String customerProfilesSegmentArn) Sets the value of the CustomerProfilesSegmentArn property for this object.default Source.Builder
eventTrigger
(Consumer<EventTrigger.Builder> eventTrigger) Sets the value of the EventTrigger property for this object.eventTrigger
(EventTrigger eventTrigger) Sets the value of the EventTrigger property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
customerProfilesSegmentArn
Sets the value of the CustomerProfilesSegmentArn property for this object.- Parameters:
customerProfilesSegmentArn
- The new value for the CustomerProfilesSegmentArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTrigger
Sets the value of the EventTrigger property for this object.- Parameters:
eventTrigger
- The new value for the EventTrigger property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTrigger
Sets the value of the EventTrigger property for this object. This is a convenience method that creates an instance of theEventTrigger.Builder
avoiding the need to create one manually viaEventTrigger.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventTrigger(EventTrigger)
.- Parameters:
eventTrigger
- a consumer that will call methods onEventTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-