public static interface SegmentGroup.Builder extends SdkPojo, CopyableBuilder<SegmentGroup.Builder,SegmentGroup>
Modifier and Type | Method and Description |
---|---|
SegmentGroup.Builder |
dimensions(Collection<SegmentDimensions> dimensions)
List of dimensions to include or exclude.
|
SegmentGroup.Builder |
dimensions(Consumer<SegmentDimensions.Builder>... dimensions)
List of dimensions to include or exclude.
|
SegmentGroup.Builder |
dimensions(SegmentDimensions... dimensions)
List of dimensions to include or exclude.
|
SegmentGroup.Builder |
sourceSegments(Collection<SegmentReference> sourceSegments)
The base segment that you build your segment on.
|
SegmentGroup.Builder |
sourceSegments(Consumer<SegmentReference.Builder>... sourceSegments)
The base segment that you build your segment on.
|
SegmentGroup.Builder |
sourceSegments(SegmentReference... sourceSegments)
The base segment that you build your segment on.
|
SegmentGroup.Builder |
sourceType(SourceType sourceType)
Specify how to handle multiple source segments.
|
SegmentGroup.Builder |
sourceType(String sourceType)
Specify how to handle multiple source segments.
|
SegmentGroup.Builder |
type(String type)
Specify how to handle multiple segment dimensions.
|
SegmentGroup.Builder |
type(Type type)
Specify how to handle multiple segment dimensions.
|
copy
applyMutation, build
SegmentGroup.Builder dimensions(Collection<SegmentDimensions> dimensions)
dimensions
- List of dimensions to include or exclude.SegmentGroup.Builder dimensions(SegmentDimensions... dimensions)
dimensions
- List of dimensions to include or exclude.SegmentGroup.Builder dimensions(Consumer<SegmentDimensions.Builder>... dimensions)
.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #dimensions(List)
.dimensions
- a consumer that will call methods on List.Builder
#dimensions(List)
SegmentGroup.Builder sourceSegments(Collection<SegmentReference> sourceSegments)
sourceSegments
- The base segment that you build your segment on. The source segment defines the starting "universe" of
endpoints. When you add dimensions to the segment, it filters the source segment based on the
dimensions that you specify. You can specify more than one dimensional segment. You can only specify
one imported segment.
NOTE: If you specify an imported segment for this attribute, the segment size estimate that appears in
the Amazon Pinpoint console shows the size of the imported segment, without any filters applied to it.SegmentGroup.Builder sourceSegments(SegmentReference... sourceSegments)
sourceSegments
- The base segment that you build your segment on. The source segment defines the starting "universe" of
endpoints. When you add dimensions to the segment, it filters the source segment based on the
dimensions that you specify. You can specify more than one dimensional segment. You can only specify
one imported segment.
NOTE: If you specify an imported segment for this attribute, the segment size estimate that appears in
the Amazon Pinpoint console shows the size of the imported segment, without any filters applied to it.SegmentGroup.Builder sourceSegments(Consumer<SegmentReference.Builder>... sourceSegments)
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #sourceSegments(List)
.sourceSegments
- a consumer that will call methods on List.Builder
#sourceSegments(List)
SegmentGroup.Builder sourceType(String sourceType)
sourceType
- Specify how to handle multiple source segments. For example, if you specify three source segments,
should the resulting segment be based on any or all of the segments? Acceptable values: ANY or ALL.SourceType
,
SourceType
SegmentGroup.Builder sourceType(SourceType sourceType)
sourceType
- Specify how to handle multiple source segments. For example, if you specify three source segments,
should the resulting segment be based on any or all of the segments? Acceptable values: ANY or ALL.SourceType
,
SourceType
SegmentGroup.Builder type(String type)
type
- Specify how to handle multiple segment dimensions. For example, if you specify three dimensions,
should the resulting segment include endpoints that are matched by all, any, or none of the
dimensions? Acceptable values: ALL, ANY, or NONE.Type
,
Type
SegmentGroup.Builder type(Type type)
type
- Specify how to handle multiple segment dimensions. For example, if you specify three dimensions,
should the resulting segment include endpoints that are matched by all, any, or none of the
dimensions? Acceptable values: ALL, ANY, or NONE.Type
,
Type
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.