Package org.onosproject.net.pi.runtime
Class PiActionProfileMember.Builder
- java.lang.Object
 - 
- org.onosproject.net.pi.runtime.PiActionProfileMember.Builder
 
 
- 
- Enclosing class:
 - PiActionProfileMember
 
public static final class PiActionProfileMember.Builder extends Object
Builder of action profile members. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PiActionProfileMemberbuild()Creates a new action profile member.PiActionProfileMember.BuilderforActionProfile(PiActionProfileId actionProfileId)Sets the action profile identifier of this member.PiActionProfileMember.BuilderwithAction(PiAction action)Sets the action of this member.PiActionProfileMember.BuilderwithId(PiActionProfileMemberId id)Sets the identifier of this member. 
 - 
 
- 
- 
Method Detail
- 
forActionProfile
public PiActionProfileMember.Builder forActionProfile(PiActionProfileId actionProfileId)
Sets the action profile identifier of this member.- Parameters:
 actionProfileId- action profile identifier- Returns:
 - this
 
 
- 
withId
public PiActionProfileMember.Builder withId(PiActionProfileMemberId id)
Sets the identifier of this member.- Parameters:
 id- member identifier- Returns:
 - this
 
 
- 
withAction
public PiActionProfileMember.Builder withAction(PiAction action)
Sets the action of this member.- Parameters:
 action- action- Returns:
 - this
 
 
- 
build
public PiActionProfileMember build()
Creates a new action profile member.- Returns:
 - action profile member
 
 
 - 
 
 -