Interface SegmentGroupList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentGroupList.Builder,SegmentGroupList>,SdkBuilder<SegmentGroupList.Builder,SegmentGroupList>,SdkPojo
- Enclosing class:
- SegmentGroupList
public static interface SegmentGroupList.Builder extends SdkPojo, CopyableBuilder<SegmentGroupList.Builder,SegmentGroupList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentGroupList.Buildergroups(Collection<SegmentGroup> groups)An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.SegmentGroupList.Buildergroups(Consumer<SegmentGroup.Builder>... groups)An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.SegmentGroupList.Buildergroups(SegmentGroup... groups)An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.SegmentGroupList.Builderinclude(String include)Specifies how to handle multiple segment groups for the segment.SegmentGroupList.Builderinclude(Include include)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 Detail
-
groups
SegmentGroupList.Builder groups(Collection<SegmentGroup> 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
SegmentGroupList.Builder groups(SegmentGroup... 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
SegmentGroupList.Builder groups(Consumer<SegmentGroup.Builder>... 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.Builderavoiding the need to create one manually viaSegmentGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - 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:
#groups(java.util.Collection)
-
include
SegmentGroupList.Builder include(String 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,Include
-
include
SegmentGroupList.Builder include(Include 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,Include
-
-