public static interface SegmentDimensions.Builder extends SdkPojo, CopyableBuilder<SegmentDimensions.Builder,SegmentDimensions>
copy
applyMutation, build
SegmentDimensions.Builder attributes(Map<String,AttributeDimension> attributes)
attributes
- Custom segment attributes.SegmentDimensions.Builder behavior(SegmentBehaviors behavior)
behavior
- The segment behaviors attributes.default SegmentDimensions.Builder behavior(Consumer<SegmentBehaviors.Builder> behavior)
SegmentBehaviors.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.Builder
behavior(SegmentBehaviors)
SegmentDimensions.Builder demographic(SegmentDemographics demographic)
demographic
- The segment demographics attributes.default SegmentDimensions.Builder demographic(Consumer<SegmentDemographics.Builder> demographic)
SegmentDemographics.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.Builder
demographic(SegmentDemographics)
SegmentDimensions.Builder location(SegmentLocation location)
location
- The segment location attributes.default SegmentDimensions.Builder location(Consumer<SegmentLocation.Builder> location)
SegmentLocation.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.Builder
location(SegmentLocation)
SegmentDimensions.Builder metrics(Map<String,MetricDimension> metrics)
metrics
- Custom segment metrics.SegmentDimensions.Builder userAttributes(Map<String,AttributeDimension> userAttributes)
userAttributes
- Custom segment user attributes.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.