public static final class PiActionGroupMember.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PiActionGroupMember |
build()
Creates a new action group 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 withId(PiActionGroupMemberId id)
id
- member identifierpublic PiActionGroupMember.Builder withAction(PiAction action)
action
- actionpublic PiActionGroupMember.Builder withWeight(int weight)
PiActionGroupType.SELECT
.
Default value is 0.
weight
- weightpublic PiActionGroupMember build()