Interface SegmentGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentGroup.Builder,SegmentGroup>,SdkBuilder<SegmentGroup.Builder,SegmentGroup>,SdkPojo
- Enclosing class:
- SegmentGroup
public static interface SegmentGroup.Builder extends SdkPojo, CopyableBuilder<SegmentGroup.Builder,SegmentGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentGroup.Buildergroups(Collection<Group> groups)Holds the list of groups within the segment definition.SegmentGroup.Buildergroups(Consumer<Group.Builder>... groups)Holds the list of groups within the segment definition.SegmentGroup.Buildergroups(Group... groups)Holds the list of groups within the segment definition.SegmentGroup.Builderinclude(String include)Defines whether to include or exclude the profiles that fit the segment criteria.SegmentGroup.Builderinclude(IncludeOptions include)Defines whether to include or exclude the profiles that fit the segment criteria.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
groups
SegmentGroup.Builder groups(Collection<Group> groups)
Holds the list of groups within the segment definition.
- Parameters:
groups- Holds the list of groups within the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
SegmentGroup.Builder groups(Group... groups)
Holds the list of groups within the segment definition.
- Parameters:
groups- Holds the list of groups within the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
SegmentGroup.Builder groups(Consumer<Group.Builder>... groups)
Holds the list of groups within the segment definition.
This is a convenience method that creates an instance of theGroup.Builderavoiding the need to create one manually viaGroup.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 onGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
include
SegmentGroup.Builder include(String include)
Defines whether to include or exclude the profiles that fit the segment criteria.
- Parameters:
include- Defines whether to include or exclude the profiles that fit the segment criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IncludeOptions,IncludeOptions
-
include
SegmentGroup.Builder include(IncludeOptions include)
Defines whether to include or exclude the profiles that fit the segment criteria.
- Parameters:
include- Defines whether to include or exclude the profiles that fit the segment criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IncludeOptions,IncludeOptions
-
-