public static interface TargetGroupsConfig.Builder extends SdkPojo, CopyableBuilder<TargetGroupsConfig.Builder,TargetGroupsConfig>
Modifier and Type | Method and Description |
---|---|
TargetGroupsConfig.Builder |
targetGroups(Collection<TargetGroup> targetGroups)
One or more target groups.
|
TargetGroupsConfig.Builder |
targetGroups(Consumer<TargetGroup.Builder>... targetGroups)
One or more target groups.
|
TargetGroupsConfig.Builder |
targetGroups(TargetGroup... targetGroups)
One or more target groups.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TargetGroupsConfig.Builder targetGroups(Collection<TargetGroup> targetGroups)
One or more target groups.
targetGroups
- One or more target groups.TargetGroupsConfig.Builder targetGroups(TargetGroup... targetGroups)
One or more target groups.
targetGroups
- One or more target groups.TargetGroupsConfig.Builder targetGroups(Consumer<TargetGroup.Builder>... targetGroups)
One or more target groups.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #targetGroups(List)
.targetGroups
- a consumer that will call methods on List.Builder
#targetGroups(List)
Copyright © 2021. All rights reserved.