Package org.onosproject.net.intent
Class MultiPointToSinglePointIntent.Builder
- java.lang.Object
- 
- org.onosproject.net.intent.Intent.Builder
- 
- org.onosproject.net.intent.ConnectivityIntent.Builder
- 
- org.onosproject.net.intent.MultiPointToSinglePointIntent.Builder
 
 
 
- 
- Enclosing class:
- MultiPointToSinglePointIntent
 
 public static final class MultiPointToSinglePointIntent.Builder extends ConnectivityIntent.Builder Builder of a multi point to single point intent.
- 
- 
Field Summary- 
Fields inherited from class org.onosproject.net.intent.ConnectivityIntent.Builderconstraints, selector, treatment
 - 
Fields inherited from class org.onosproject.net.intent.Intent.BuilderappId, key, priority, resourceGroup, resources
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(MultiPointToSinglePointIntent intent)Creates a new builder pre-populated with information from the given intent.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiPointToSinglePointIntent.BuilderappId(ApplicationId appId)Sets the application id for the intent that will be built.MultiPointToSinglePointIntentbuild()Builds a multi point to single point intent from the accumulated parameters.MultiPointToSinglePointIntent.Builderconstraints(List<Constraint> constraints)Sets the constraints for the intent that will be built.MultiPointToSinglePointIntent.BuilderfilteredEgressPoint(FilteredConnectPoint egressPoint)Sets the filtered egress point of the multi point to single point intent that will be built.MultiPointToSinglePointIntent.BuilderfilteredIngressPoints(Set<FilteredConnectPoint> ingressPoints)Sets the filtered ingress point of the single point to multi point intent that will be built.MultiPointToSinglePointIntent.Builderkey(Key key)Sets the key for the intent that will be built.MultiPointToSinglePointIntent.Builderpriority(int priority)Sets the priority for the intent that will be built.MultiPointToSinglePointIntent.BuilderresourceGroup(ResourceGroup resourceGroup)Sets the resource group for this intent.MultiPointToSinglePointIntent.Builderselector(TrafficSelector selector)Sets the traffic selector for the intent that will be built.MultiPointToSinglePointIntent.Buildertreatment(TrafficTreatment treatment)Sets the traffic treatment for the intent that will be built.- 
Methods inherited from class org.onosproject.net.intent.Intent.Builderresources
 
- 
 
- 
- 
- 
Constructor Detail- 
Builderprotected Builder(MultiPointToSinglePointIntent intent) Creates a new builder pre-populated with information from the given intent.- Parameters:
- intent- initial intent
 
 
- 
 - 
Method Detail- 
appIdpublic MultiPointToSinglePointIntent.Builder appId(ApplicationId appId) Description copied from class:Intent.BuilderSets the application id for the intent that will be built.- Overrides:
- appIdin class- ConnectivityIntent.Builder
- Parameters:
- appId- application id to use for built intent
- Returns:
- this builder
 
 - 
keypublic MultiPointToSinglePointIntent.Builder key(Key key) Description copied from class:Intent.BuilderSets the key for the intent that will be built.- Overrides:
- keyin class- ConnectivityIntent.Builder
- Parameters:
- key- key to use for built intent
- Returns:
- this builder
 
 - 
selectorpublic MultiPointToSinglePointIntent.Builder selector(TrafficSelector selector) Description copied from class:ConnectivityIntent.BuilderSets the traffic selector for the intent that will be built.- Overrides:
- selectorin class- ConnectivityIntent.Builder
- Parameters:
- selector- selector to use for built intent
- Returns:
- this builder
 
 - 
treatmentpublic MultiPointToSinglePointIntent.Builder treatment(TrafficTreatment treatment) Description copied from class:ConnectivityIntent.BuilderSets the traffic treatment for the intent that will be built.- Overrides:
- treatmentin class- ConnectivityIntent.Builder
- Parameters:
- treatment- treatment to use for built intent
- Returns:
- this builder
 
 - 
constraintspublic MultiPointToSinglePointIntent.Builder constraints(List<Constraint> constraints) Description copied from class:ConnectivityIntent.BuilderSets the constraints for the intent that will be built.- Overrides:
- constraintsin class- ConnectivityIntent.Builder
- Parameters:
- constraints- constraints to use for built intent
- Returns:
- this builder
 
 - 
prioritypublic MultiPointToSinglePointIntent.Builder priority(int priority) Description copied from class:Intent.BuilderSets the priority for the intent that will be built.- Overrides:
- priorityin class- ConnectivityIntent.Builder
- Parameters:
- priority- priority to use for built intent
- Returns:
- this builder
 
 - 
resourceGrouppublic MultiPointToSinglePointIntent.Builder resourceGroup(ResourceGroup resourceGroup) Description copied from class:Intent.BuilderSets the resource group for this intent.- Overrides:
- resourceGroupin class- Intent.Builder
- Parameters:
- resourceGroup- the resource group
- Returns:
- this builder
 
 - 
filteredIngressPointspublic MultiPointToSinglePointIntent.Builder filteredIngressPoints(Set<FilteredConnectPoint> ingressPoints) Sets the filtered ingress point of the single point to multi point intent that will be built.- Parameters:
- ingressPoints- filtered ingress connect points
- Returns:
- this builder
 
 - 
filteredEgressPointpublic MultiPointToSinglePointIntent.Builder filteredEgressPoint(FilteredConnectPoint egressPoint) Sets the filtered egress point of the multi point to single point intent that will be built.- Parameters:
- egressPoint- filtered egress connect point
- Returns:
- this builder
 
 - 
buildpublic MultiPointToSinglePointIntent build() Builds a multi point to single point intent from the accumulated parameters.- Returns:
- multi point to single point intent
 
 
- 
 
-