public static final class PiActionProfileGroup.Builder extends Object
| Modifier and Type | Method and Description | 
|---|---|
PiActionProfileGroup.Builder | 
addMember(PiActionProfileGroup.WeightedMember member)
Adds one member to this action profile. 
 | 
PiActionProfileGroup.Builder | 
addMember(PiActionProfileMember memberInstance)
Adds one member to this action profile group with default weight. 
 | 
PiActionProfileGroup.Builder | 
addMember(PiActionProfileMemberId memberId)
Adds one member to this action profile group with default weight. 
 | 
PiActionProfileGroup.Builder | 
addMember(PiActionProfileMemberId memberId,
         int weight)
Adds one member to this action profile group with the given weight. 
 | 
PiActionProfileGroup.Builder | 
addMember(PiActionProfileMember memberInstance,
         int weight)
Adds one member to this action profile group with the given weight. 
 | 
PiActionProfileGroup.Builder | 
addMembers(Iterable<PiActionProfileMember> memberInstances)
Adds all members to this action profile group with default weight. 
 | 
PiActionProfileGroup | 
build()
Creates a new action profile group. 
 | 
PiActionProfileGroup.Builder | 
withActionProfileId(PiActionProfileId piActionProfileId)
Sets the ID of the action profile. 
 | 
PiActionProfileGroup.Builder | 
withId(PiActionProfileGroupId id)
Sets the ID of this action profile group. 
 | 
PiActionProfileGroup.Builder | 
withMaxSize(int maxSize)
Sets the maximum number of members that this group can hold. 
 | 
public PiActionProfileGroup.Builder withId(PiActionProfileGroupId id)
id - action profile group IDpublic PiActionProfileGroup.Builder addMember(PiActionProfileGroup.WeightedMember member)
member - member to addpublic PiActionProfileGroup.Builder addMember(PiActionProfileMemberId memberId)
memberId - ID of the action profile member to addpublic PiActionProfileGroup.Builder addMember(PiActionProfileMember memberInstance)
memberInstance - the action profile member instance to addpublic PiActionProfileGroup.Builder addMembers(Iterable<PiActionProfileMember> memberInstances)
memberInstances - the action profile member instance to addpublic PiActionProfileGroup.Builder addMember(PiActionProfileMemberId memberId, int weight)
memberId - ID of the action profile member to addweight - weightpublic PiActionProfileGroup.Builder addMember(PiActionProfileMember memberInstance, int weight)
memberInstance - the action profile member instance to addweight - weightpublic PiActionProfileGroup.Builder withActionProfileId(PiActionProfileId piActionProfileId)
piActionProfileId - the ID of the action profilepublic PiActionProfileGroup.Builder withMaxSize(int maxSize)
maxSize - maximum number of members that this group can holdpublic PiActionProfileGroup build()