Interface SimpleCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SimpleCondition.Builder,
,SimpleCondition> SdkBuilder<SimpleCondition.Builder,
,SimpleCondition> SdkPojo
- Enclosing class:
SimpleCondition
-
Method Summary
Modifier and TypeMethodDescriptiondefault SimpleCondition.Builder
eventCondition
(Consumer<EventCondition.Builder> eventCondition) The dimension settings for the event that's associated with the activity.eventCondition
(EventCondition eventCondition) The dimension settings for the event that's associated with the activity.default SimpleCondition.Builder
segmentCondition
(Consumer<SegmentCondition.Builder> segmentCondition) The segment that's associated with the activity.segmentCondition
(SegmentCondition segmentCondition) The segment that's associated with the activity.default SimpleCondition.Builder
segmentDimensions
(Consumer<SegmentDimensions.Builder> segmentDimensions) The dimension settings for the segment that's associated with the activity.segmentDimensions
(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 Details
-
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
The dimension settings for the event that's associated with the activity.
This is a convenience method that creates an instance of theEventCondition.Builder
avoiding the need to create one manually viaEventCondition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaSegmentCondition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaSegmentDimensions.builder()
.When the
Consumer
completes,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:
-