public static interface SegmentDimensions.Builder extends SdkPojo, CopyableBuilder<SegmentDimensions.Builder,SegmentDimensions>
| Modifier and Type | Method and Description |
|---|---|
SegmentDimensions.Builder |
attributes(Map<String,AttributeDimension> attributes)
One or more custom attributes to use as criteria for the segment.
|
default SegmentDimensions.Builder |
behavior(Consumer<SegmentBehaviors.Builder> behavior)
The behavior-based criteria, such as how recently users have used your app, for the segment.
|
SegmentDimensions.Builder |
behavior(SegmentBehaviors behavior)
The behavior-based criteria, such as how recently users have used your app, for the segment.
|
default SegmentDimensions.Builder |
demographic(Consumer<SegmentDemographics.Builder> demographic)
The demographic-based criteria, such as device platform, for the segment.
|
SegmentDimensions.Builder |
demographic(SegmentDemographics demographic)
The demographic-based criteria, such as device platform, for the segment.
|
default SegmentDimensions.Builder |
location(Consumer<SegmentLocation.Builder> location)
The location-based criteria, such as region or GPS coordinates, for the segment.
|
SegmentDimensions.Builder |
location(SegmentLocation location)
The location-based criteria, such as region or GPS coordinates, for the segment.
|
SegmentDimensions.Builder |
metrics(Map<String,MetricDimension> metrics)
One or more custom metrics to use as criteria for the segment.
|
SegmentDimensions.Builder |
userAttributes(Map<String,AttributeDimension> userAttributes)
One or more custom user attributes to use as criteria for the segment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSegmentDimensions.Builder attributes(Map<String,AttributeDimension> attributes)
One or more custom attributes to use as criteria for the segment.
attributes - One or more custom attributes to use as criteria for the segment.SegmentDimensions.Builder behavior(SegmentBehaviors behavior)
The behavior-based criteria, such as how recently users have used your app, for the segment.
behavior - The behavior-based criteria, such as how recently users have used your app, for the segment.default SegmentDimensions.Builder behavior(Consumer<SegmentBehaviors.Builder> behavior)
The behavior-based criteria, such as how recently users have used your app, for the segment.
This is a convenience that creates an instance of theSegmentBehaviors.Builder avoiding the need to
create one manually via SegmentBehaviors.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to behavior(SegmentBehaviors).behavior - a consumer that will call methods on SegmentBehaviors.Builderbehavior(SegmentBehaviors)SegmentDimensions.Builder demographic(SegmentDemographics demographic)
The demographic-based criteria, such as device platform, for the segment.
demographic - The demographic-based criteria, such as device platform, for the segment.default SegmentDimensions.Builder demographic(Consumer<SegmentDemographics.Builder> demographic)
The demographic-based criteria, such as device platform, for the segment.
This is a convenience that creates an instance of theSegmentDemographics.Builder avoiding the need
to create one manually via SegmentDemographics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to demographic(SegmentDemographics).demographic - a consumer that will call methods on SegmentDemographics.Builderdemographic(SegmentDemographics)SegmentDimensions.Builder location(SegmentLocation location)
The location-based criteria, such as region or GPS coordinates, for the segment.
location - The location-based criteria, such as region or GPS coordinates, for the segment.default SegmentDimensions.Builder location(Consumer<SegmentLocation.Builder> location)
The location-based criteria, such as region or GPS coordinates, for the segment.
This is a convenience that creates an instance of theSegmentLocation.Builder avoiding the need to
create one manually via SegmentLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to location(SegmentLocation).location - a consumer that will call methods on SegmentLocation.Builderlocation(SegmentLocation)SegmentDimensions.Builder metrics(Map<String,MetricDimension> metrics)
One or more custom metrics to use as criteria for the segment.
metrics - One or more custom metrics to use as criteria for the segment.SegmentDimensions.Builder userAttributes(Map<String,AttributeDimension> userAttributes)
One or more custom user attributes to use as criteria for the segment.
userAttributes - One or more custom user attributes to use as criteria for the segment.Copyright © 2021. All rights reserved.