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