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 java.lang.Object
Builder of action profile members.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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
-
-