Interface SimpleCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SimpleCondition.Builder,,SimpleCondition> SdkBuilder<SimpleCondition.Builder,,SimpleCondition> SdkPojo
- Enclosing class:
SimpleCondition
-
Method Summary
Modifier and TypeMethodDescriptiondefault SimpleCondition.BuildereventCondition(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.BuildersegmentCondition(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.BuildersegmentDimensions(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
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:
-
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:
-