Interface SimpleCondition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SimpleCondition.Builder,SimpleCondition>,SdkBuilder<SimpleCondition.Builder,SimpleCondition>,SdkPojo
- Enclosing class:
- SimpleCondition
public static interface SimpleCondition.Builder extends SdkPojo, CopyableBuilder<SimpleCondition.Builder,SimpleCondition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SimpleCondition.BuildereventCondition(Consumer<EventCondition.Builder> eventCondition)The dimension settings for the event that's associated with the activity.SimpleCondition.BuildereventCondition(EventCondition eventCondition)The dimension settings for the event that's associated with the activity.default SimpleCondition.BuildersegmentCondition(Consumer<SegmentCondition.Builder> segmentCondition)The segment that's associated with the activity.SimpleCondition.BuildersegmentCondition(SegmentCondition segmentCondition)The segment that's associated with the activity.default SimpleCondition.BuildersegmentDimensions(Consumer<SegmentDimensions.Builder> segmentDimensions)The dimension settings for the segment that's associated with the activity.SimpleCondition.BuildersegmentDimensions(SegmentDimensions segmentDimensions)The dimension settings for the segment that's associated with the activity.-
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 Detail
-
eventCondition
SimpleCondition.Builder eventCondition(EventCondition eventCondition)
The dimension settings for the event that's associated with the activity.
- Parameters:
eventCondition- The dimension settings for the event that's associated with the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCondition
default SimpleCondition.Builder eventCondition(Consumer<EventCondition.Builder> eventCondition)
The dimension settings for the event that's associated with the activity.
This is a convenience method that creates an instance of theEventCondition.Builderavoiding the need to create one manually viaEventCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventCondition(EventCondition).- Parameters:
eventCondition- a consumer that will call methods onEventCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventCondition(EventCondition)
-
segmentCondition
SimpleCondition.Builder segmentCondition(SegmentCondition segmentCondition)
The segment that's associated with the activity.
- Parameters:
segmentCondition- The segment that's associated with the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentCondition
default SimpleCondition.Builder segmentCondition(Consumer<SegmentCondition.Builder> segmentCondition)
The segment that's associated with the activity.
This is a convenience method that creates an instance of theSegmentCondition.Builderavoiding the need to create one manually viaSegmentCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegmentCondition(SegmentCondition).- Parameters:
segmentCondition- a consumer that will call methods onSegmentCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
segmentCondition(SegmentCondition)
-
segmentDimensions
SimpleCondition.Builder segmentDimensions(SegmentDimensions segmentDimensions)
The dimension settings for the segment that's associated with the activity.
- Parameters:
segmentDimensions- The dimension settings for the segment that's associated with the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDimensions
default SimpleCondition.Builder segmentDimensions(Consumer<SegmentDimensions.Builder> segmentDimensions)
The dimension settings for the segment that's associated with the activity.
This is a convenience method that creates an instance of theSegmentDimensions.Builderavoiding the need to create one manually viaSegmentDimensions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegmentDimensions(SegmentDimensions).- Parameters:
segmentDimensions- a consumer that will call methods onSegmentDimensions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
segmentDimensions(SegmentDimensions)
-
-