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
Modifier and TypeMethodDescriptiondefault SegmentBehaviors.Builderrecency(Consumer<RecencyDimension.Builder> recency) The dimension settings that are based on how recently an endpoint was active.recency(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-