public static final class PiActionGroup.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PiActionGroup.Builder |
addMember(PiActionGroupMember member)
Adds one member to this action group.
|
PiActionGroup.Builder |
addMembers(java.util.Collection<PiActionGroupMember> members)
Adds many members to this action group.
|
PiActionGroup |
build()
Creates a new action group.
|
PiActionGroup.Builder |
withActionProfileId(PiActionProfileId piActionProfileId)
Sets the identifier of the action profile.
|
PiActionGroup.Builder |
withId(PiActionGroupId id)
Sets the identifier of this action group.
|
PiActionGroup.Builder |
withType(PiActionGroupType type)
Sets the type of this action group.
|
public PiActionGroup.Builder withId(PiActionGroupId id)
id
- action group identifierpublic PiActionGroup.Builder withType(PiActionGroupType type)
type
- action group typepublic PiActionGroup.Builder addMember(PiActionGroupMember member)
member
- action group memberpublic PiActionGroup.Builder addMembers(java.util.Collection<PiActionGroupMember> members)
members
- action group memberspublic PiActionGroup.Builder withActionProfileId(PiActionProfileId piActionProfileId)
piActionProfileId
- the identifier of the action profilepublic PiActionGroup build()