Package org.onosproject.net.intent
Class SinglePointToMultiPointIntent.Builder
- java.lang.Object
 - 
- org.onosproject.net.intent.Intent.Builder
 - 
- org.onosproject.net.intent.ConnectivityIntent.Builder
 - 
- org.onosproject.net.intent.SinglePointToMultiPointIntent.Builder
 
 
 
 
- 
- Enclosing class:
 - SinglePointToMultiPointIntent
 
public static final class SinglePointToMultiPointIntent.Builder extends ConnectivityIntent.Builder
Builder of a single point to multi point intent. 
- 
- 
Field Summary
- 
Fields inherited from class org.onosproject.net.intent.ConnectivityIntent.Builder
constraints, selector, treatment 
- 
Fields inherited from class org.onosproject.net.intent.Intent.Builder
appId, key, priority, resourceGroup, resources 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(SinglePointToMultiPointIntent intent)Creates a new builder pre-populated with information from the given intent. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SinglePointToMultiPointIntent.BuilderappId(ApplicationId appId)Sets the application id for the intent that will be built.SinglePointToMultiPointIntentbuild()Builds a single point to multi point intent from the accumulated parameters.SinglePointToMultiPointIntent.Builderconstraints(List<Constraint> constraints)Sets the constraints for the intent that will be built.SinglePointToMultiPointIntent.BuilderfilteredEgressPoints(Set<FilteredConnectPoint> egressPoints)Sets the filtered egress points of the single point to multi point intent that will be built.SinglePointToMultiPointIntent.BuilderfilteredIngressPoint(FilteredConnectPoint ingressPoint)Sets the filtered ingress point of the single point to multi point intent that will be built.SinglePointToMultiPointIntent.Builderkey(Key key)Sets the key for the intent that will be built.SinglePointToMultiPointIntent.Builderpriority(int priority)Sets the priority for the intent that will be built.SinglePointToMultiPointIntent.BuilderresourceGroup(ResourceGroup resourceGroup)Sets the resource group for this intent.SinglePointToMultiPointIntent.Builderselector(TrafficSelector selector)Sets the traffic selector for the intent that will be built.SinglePointToMultiPointIntent.Buildertreatment(TrafficTreatment treatment)Sets the traffic treatment for the intent that will be built.- 
Methods inherited from class org.onosproject.net.intent.Intent.Builder
resources 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
Builder
protected Builder(SinglePointToMultiPointIntent intent)
Creates a new builder pre-populated with information from the given intent.- Parameters:
 intent- initial intent
 
 - 
 
- 
Method Detail
- 
appId
public SinglePointToMultiPointIntent.Builder appId(ApplicationId appId)
Description copied from class:Intent.BuilderSets the application id for the intent that will be built.- Overrides:
 appIdin classConnectivityIntent.Builder- Parameters:
 appId- application id to use for built intent- Returns:
 - this builder
 
 
- 
key
public SinglePointToMultiPointIntent.Builder key(Key key)
Description copied from class:Intent.BuilderSets the key for the intent that will be built.- Overrides:
 keyin classConnectivityIntent.Builder- Parameters:
 key- key to use for built intent- Returns:
 - this builder
 
 
- 
selector
public SinglePointToMultiPointIntent.Builder selector(TrafficSelector selector)
Description copied from class:ConnectivityIntent.BuilderSets the traffic selector for the intent that will be built.- Overrides:
 selectorin classConnectivityIntent.Builder- Parameters:
 selector- selector to use for built intent- Returns:
 - this builder
 
 
- 
treatment
public SinglePointToMultiPointIntent.Builder treatment(TrafficTreatment treatment)
Description copied from class:ConnectivityIntent.BuilderSets the traffic treatment for the intent that will be built.- Overrides:
 treatmentin classConnectivityIntent.Builder- Parameters:
 treatment- treatment to use for built intent- Returns:
 - this builder
 
 
- 
constraints
public SinglePointToMultiPointIntent.Builder constraints(List<Constraint> constraints)
Description copied from class:ConnectivityIntent.BuilderSets the constraints for the intent that will be built.- Overrides:
 constraintsin classConnectivityIntent.Builder- Parameters:
 constraints- constraints to use for built intent- Returns:
 - this builder
 
 
- 
priority
public SinglePointToMultiPointIntent.Builder priority(int priority)
Description copied from class:Intent.BuilderSets the priority for the intent that will be built.- Overrides:
 priorityin classConnectivityIntent.Builder- Parameters:
 priority- priority to use for built intent- Returns:
 - this builder
 
 
- 
resourceGroup
public SinglePointToMultiPointIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Description copied from class:Intent.BuilderSets the resource group for this intent.- Overrides:
 resourceGroupin classIntent.Builder- Parameters:
 resourceGroup- the resource group- Returns:
 - this builder
 
 
- 
filteredIngressPoint
public SinglePointToMultiPointIntent.Builder filteredIngressPoint(FilteredConnectPoint ingressPoint)
Sets the filtered ingress point of the single point to multi point intent that will be built.- Parameters:
 ingressPoint- ingress connect point- Returns:
 - this builder
 
 
- 
filteredEgressPoints
public SinglePointToMultiPointIntent.Builder filteredEgressPoints(Set<FilteredConnectPoint> egressPoints)
Sets the filtered egress points of the single point to multi point intent that will be built.- Parameters:
 egressPoints- egress connect points- Returns:
 - this builder
 
 
- 
build
public SinglePointToMultiPointIntent build()
Builds a single point to multi point intent from the accumulated parameters.- Returns:
 - point to point intent
 
 
 - 
 
 -