Interface SegmentGroupList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SegmentGroupList.Builder,
,SegmentGroupList> SdkBuilder<SegmentGroupList.Builder,
,SegmentGroupList> SdkPojo
- Enclosing class:
SegmentGroupList
-
Method Summary
Modifier and TypeMethodDescriptiongroups
(Collection<SegmentGroup> groups) An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.groups
(Consumer<SegmentGroup.Builder>... groups) An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.groups
(SegmentGroup... groups) An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.Specifies how to handle multiple segment groups for the segment.Specifies how to handle multiple segment groups for the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
groups
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
- Parameters:
groups
- An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
- Parameters:
groups
- An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
This is a convenience method that creates an instance of theSegmentGroup.Builder
avoiding the need to create one manually viaSegmentGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<SegmentGroup>)
.- Parameters:
groups
- a consumer that will call methods onSegmentGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
include
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
- Parameters:
include
- Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
include
Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.
- Parameters:
include
- Specifies how to handle multiple segment groups for the segment. For example, if the segment includes three segment groups, whether the resulting segment includes endpoints that match all, any, or none of the segment groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-