Interface SegmentGroupStructure.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentGroupStructure.Builder,SegmentGroupStructure>,SdkBuilder<SegmentGroupStructure.Builder,SegmentGroupStructure>,SdkPojo
- Enclosing class:
- SegmentGroupStructure
public static interface SegmentGroupStructure.Builder extends SdkPojo, CopyableBuilder<SegmentGroupStructure.Builder,SegmentGroupStructure>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentGroupStructure.Buildergroups(Collection<Group> groups)Holds the list of groups within the segment definition.SegmentGroupStructure.Buildergroups(Consumer<Group.Builder>... groups)Holds the list of groups within the segment definition.SegmentGroupStructure.Buildergroups(Group... groups)Holds the list of groups within the segment definition.SegmentGroupStructure.Builderinclude(String include)Define whether to include or exclude the profiles that fit the segment criteria.SegmentGroupStructure.Builderinclude(IncludeOptions include)Define 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
SegmentGroupStructure.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
SegmentGroupStructure.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
SegmentGroupStructure.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
SegmentGroupStructure.Builder include(String include)
Define whether to include or exclude the profiles that fit the segment criteria.
- Parameters:
include- Define 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
SegmentGroupStructure.Builder include(IncludeOptions include)
Define whether to include or exclude the profiles that fit the segment criteria.
- Parameters:
include- Define 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
-
-