Interface SegmentBehaviors.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentBehaviors.Builder,SegmentBehaviors>,SdkBuilder<SegmentBehaviors.Builder,SegmentBehaviors>,SdkPojo
- Enclosing class:
- SegmentBehaviors
public static interface SegmentBehaviors.Builder extends SdkPojo, CopyableBuilder<SegmentBehaviors.Builder,SegmentBehaviors>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SegmentBehaviors.Builderrecency(Consumer<RecencyDimension.Builder> recency)The dimension settings that are based on how recently an endpoint was active.SegmentBehaviors.Builderrecency(RecencyDimension recency)The dimension settings that are based on how recently an endpoint was active.-
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
-
recency
SegmentBehaviors.Builder recency(RecencyDimension recency)
The dimension settings that are based on how recently an endpoint was active.
- Parameters:
recency- The dimension settings that are based on how recently an endpoint was active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recency
default SegmentBehaviors.Builder recency(Consumer<RecencyDimension.Builder> recency)
The dimension settings that are based on how recently an endpoint was active.
This is a convenience method that creates an instance of theRecencyDimension.Builderavoiding the need to create one manually viaRecencyDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecency(RecencyDimension).- Parameters:
recency- a consumer that will call methods onRecencyDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recency(RecencyDimension)
-
-