public static interface WriteSegmentRequest.Builder extends SdkPojo, CopyableBuilder<WriteSegmentRequest.Builder,WriteSegmentRequest>
| Modifier and Type | Method and Description |
|---|---|
default WriteSegmentRequest.Builder |
dimensions(Consumer<SegmentDimensions.Builder> dimensions)
The criteria that define the dimensions for the segment.
|
WriteSegmentRequest.Builder |
dimensions(SegmentDimensions dimensions)
The criteria that define the dimensions for the segment.
|
WriteSegmentRequest.Builder |
name(String name)
The name of the segment.
|
default WriteSegmentRequest.Builder |
segmentGroups(Consumer<SegmentGroupList.Builder> segmentGroups)
The segment group to use and the dimensions to apply to the group's base segments in order to build the
segment.
|
WriteSegmentRequest.Builder |
segmentGroups(SegmentGroupList segmentGroups)
The segment group to use and the dimensions to apply to the group's base segments in order to build the
segment.
|
WriteSegmentRequest.Builder |
tags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the segment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWriteSegmentRequest.Builder dimensions(SegmentDimensions dimensions)
The criteria that define the dimensions for the segment.
dimensions - The criteria that define the dimensions for the segment.default WriteSegmentRequest.Builder dimensions(Consumer<SegmentDimensions.Builder> dimensions)
The criteria that define the dimensions for the segment.
This is a convenience that creates an instance of theSegmentDimensions.Builder avoiding the need to
create one manually via SegmentDimensions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to dimensions(SegmentDimensions).dimensions - a consumer that will call methods on SegmentDimensions.Builderdimensions(SegmentDimensions)WriteSegmentRequest.Builder name(String name)
The name of the segment.
name - The name of the segment.WriteSegmentRequest.Builder segmentGroups(SegmentGroupList segmentGroups)
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
segmentGroups - The segment group to use and the dimensions to apply to the group's base segments in order to build
the segment. A segment group can consist of zero or more base segments. Your request can include only
one segment group.default WriteSegmentRequest.Builder segmentGroups(Consumer<SegmentGroupList.Builder> segmentGroups)
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
This is a convenience that creates an instance of theSegmentGroupList.Builder avoiding the need to
create one manually via SegmentGroupList.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to segmentGroups(SegmentGroupList).segmentGroups - a consumer that will call methods on SegmentGroupList.BuildersegmentGroups(SegmentGroupList)WriteSegmentRequest.Builder tags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.
tags - A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each
tag consists of a required tag key and an associated tag value.Copyright © 2021. All rights reserved.