public static final class PiActionGroupMember.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
PiActionGroupMember |
build()
Creates a new action group member.
|
PiActionGroupMember.Builder |
forActionProfile(PiActionProfileId actionProfileId)
Sets the action profile identifier of this member.
|
PiActionGroupMember.Builder |
withAction(PiAction action)
Sets the action of this member.
|
PiActionGroupMember.Builder |
withId(PiActionGroupMemberId id)
Sets the identifier of this member.
|
PiActionGroupMember.Builder |
withWeight(int weight)
Sets the weight of this member.
|
public PiActionGroupMember.Builder forActionProfile(PiActionProfileId actionProfileId)
actionProfileId - action profile identifierpublic PiActionGroupMember.Builder withId(PiActionGroupMemberId id)
id - member identifierpublic PiActionGroupMember.Builder withAction(PiAction action)
action - actionpublic PiActionGroupMember.Builder withWeight(int weight)
Default value is 0.
weight - weightpublic PiActionGroupMember build()