public static interface SegmentBehaviors.Builder extends SdkPojo, CopyableBuilder<SegmentBehaviors.Builder,SegmentBehaviors>
Modifier and Type | Method and Description |
---|---|
default SegmentBehaviors.Builder |
recency(Consumer<RecencyDimension.Builder> recency)
The recency of use.
|
SegmentBehaviors.Builder |
recency(RecencyDimension recency)
The recency of use.
|
copy
applyMutation, build
SegmentBehaviors.Builder recency(RecencyDimension recency)
recency
- The recency of use.default SegmentBehaviors.Builder recency(Consumer<RecencyDimension.Builder> recency)
RecencyDimension.Builder
avoiding the need to create one manually via RecencyDimension.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to recency(RecencyDimension)
.recency
- a consumer that will call methods on RecencyDimension.Builder
recency(RecencyDimension)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.