public static final class SinglePointToMultiPointIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatmentappId, key, priority| Modifier and Type | Method and Description |
|---|---|
SinglePointToMultiPointIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
SinglePointToMultiPointIntent |
build()
Builds a single point to multi point intent from the
accumulated parameters.
|
SinglePointToMultiPointIntent.Builder |
constraints(List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
egressPoints(Set<ConnectPoint> egressPoints)
Sets the egress points of the single point to multi point intent
that will be built.
|
SinglePointToMultiPointIntent.Builder |
ingressPoint(ConnectPoint ingressPoint)
Sets the ingress point of the single point to multi point intent
that will be built.
|
SinglePointToMultiPointIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
treatments(Map<ConnectPoint,TrafficTreatment> egressTreatments)
Sets the treatments of the single point to multi point intent
that will be built.
|
public SinglePointToMultiPointIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class ConnectivityIntent.BuilderappId - application id to use for built intentpublic SinglePointToMultiPointIntent.Builder key(Key key)
Intent.Builderkey in class ConnectivityIntent.Builderkey - key to use for built intentpublic SinglePointToMultiPointIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builderselector in class ConnectivityIntent.Builderselector - selector to use for built intentpublic SinglePointToMultiPointIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Buildertreatment in class ConnectivityIntent.Buildertreatment - treatment to use for built intentpublic SinglePointToMultiPointIntent.Builder constraints(List<Constraint> constraints)
ConnectivityIntent.Builderconstraints in class ConnectivityIntent.Builderconstraints - constraints to use for built intentpublic SinglePointToMultiPointIntent.Builder priority(int priority)
Intent.Builderpriority in class ConnectivityIntent.Builderpriority - priority to use for built intentpublic SinglePointToMultiPointIntent.Builder ingressPoint(ConnectPoint ingressPoint)
ingressPoint - ingress connect pointpublic SinglePointToMultiPointIntent.Builder egressPoints(Set<ConnectPoint> egressPoints)
egressPoints - egress connect pointspublic SinglePointToMultiPointIntent.Builder treatments(Map<ConnectPoint,TrafficTreatment> egressTreatments)
egressTreatments - the multiple treatmentspublic SinglePointToMultiPointIntent build()