public static final class MultiPointToSinglePointIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatmentappId, key, priority| Modifier | Constructor and Description |
|---|---|
protected |
Builder(MultiPointToSinglePointIntent intent)
Creates a new builder pre-populated with information from the given
intent.
|
| Modifier and Type | Method and Description |
|---|---|
MultiPointToSinglePointIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
MultiPointToSinglePointIntent |
build()
Builds a multi point to single point intent from the
accumulated parameters.
|
MultiPointToSinglePointIntent.Builder |
constraints(List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
MultiPointToSinglePointIntent.Builder |
egressPoint(ConnectPoint egressPoint)
Sets the egress point of the multi point to single point intent
that will be built.
|
MultiPointToSinglePointIntent.Builder |
ingressPoints(Set<ConnectPoint> ingressPoints)
Sets the ingress point of the single point to multi point intent
that will be built.
|
MultiPointToSinglePointIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
MultiPointToSinglePointIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
MultiPointToSinglePointIntent.Builder |
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
MultiPointToSinglePointIntent.Builder |
selectors(Map<ConnectPoint,TrafficSelector> ingressSelectors)
Sets the selectors of the multi point to single point intent
that will be built.
|
MultiPointToSinglePointIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
protected Builder(MultiPointToSinglePointIntent intent)
intent - initial intentpublic MultiPointToSinglePointIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class ConnectivityIntent.BuilderappId - application id to use for built intentpublic MultiPointToSinglePointIntent.Builder key(Key key)
Intent.Builderkey in class ConnectivityIntent.Builderkey - key to use for built intentpublic MultiPointToSinglePointIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builderselector in class ConnectivityIntent.Builderselector - selector to use for built intentpublic MultiPointToSinglePointIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Buildertreatment in class ConnectivityIntent.Buildertreatment - treatment to use for built intentpublic MultiPointToSinglePointIntent.Builder constraints(List<Constraint> constraints)
ConnectivityIntent.Builderconstraints in class ConnectivityIntent.Builderconstraints - constraints to use for built intentpublic MultiPointToSinglePointIntent.Builder priority(int priority)
Intent.Builderpriority in class ConnectivityIntent.Builderpriority - priority to use for built intentpublic MultiPointToSinglePointIntent.Builder ingressPoints(Set<ConnectPoint> ingressPoints)
ingressPoints - ingress connect pointspublic MultiPointToSinglePointIntent.Builder egressPoint(ConnectPoint egressPoint)
egressPoint - egress connect pointpublic MultiPointToSinglePointIntent.Builder selectors(Map<ConnectPoint,TrafficSelector> ingressSelectors)
ingressSelectors - the multiple selectospublic MultiPointToSinglePointIntent build()