public static final class LinkCollectionIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatmentappId, key, priority, resourceGroup, resources| Modifier and Type | Method and Description |
|---|---|
LinkCollectionIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
LinkCollectionIntent.Builder |
applyTreatmentOnEgress(boolean treatmentOnEgress)
Sets the intent to apply treatment at the egress rather than the
ingress.
|
LinkCollectionIntent |
build()
Builds a single point to multi point intent from the
accumulated parameters.
|
LinkCollectionIntent.Builder |
constraints(java.util.List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
LinkCollectionIntent.Builder |
cost(double cost)
Sets the cost for the links of the Intent.
|
LinkCollectionIntent.Builder |
egressPoints(java.util.Set<ConnectPoint> egressPoints)
Deprecated.
|
LinkCollectionIntent.Builder |
filteredEgressPoints(java.util.Set<FilteredConnectPoint> egressPoints)
Sets the filtered egress points of the single point to multi point intent
that will be built.
|
LinkCollectionIntent.Builder |
filteredIngressPoints(java.util.Set<FilteredConnectPoint> ingressPoints)
Sets the filtered ingress point of the single point to multi point intent
that will be built.
|
LinkCollectionIntent.Builder |
ingressPoints(java.util.Set<ConnectPoint> ingressPoints)
Deprecated.
|
LinkCollectionIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
LinkCollectionIntent.Builder |
links(java.util.Set<Link> links)
Sets the links of the link collection intent
that will be built.
|
LinkCollectionIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
LinkCollectionIntent.Builder |
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent.
|
LinkCollectionIntent.Builder |
resources(java.util.Collection<NetworkResource> resources)
Sets the collection of resources required for this intent.
|
LinkCollectionIntent.Builder |
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
LinkCollectionIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
public LinkCollectionIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class ConnectivityIntent.BuilderappId - application id to use for built intentpublic LinkCollectionIntent.Builder key(Key key)
Intent.Builderkey in class ConnectivityIntent.Builderkey - key to use for built intentpublic LinkCollectionIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builderselector in class ConnectivityIntent.Builderselector - selector to use for built intentpublic LinkCollectionIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Buildertreatment in class ConnectivityIntent.Buildertreatment - treatment to use for built intentpublic LinkCollectionIntent.Builder constraints(java.util.List<Constraint> constraints)
ConnectivityIntent.Builderconstraints in class ConnectivityIntent.Builderconstraints - constraints to use for built intentpublic LinkCollectionIntent.Builder priority(int priority)
Intent.Builderpriority in class ConnectivityIntent.Builderpriority - priority to use for built intentpublic LinkCollectionIntent.Builder resources(java.util.Collection<NetworkResource> resources)
Intent.Builderresources in class Intent.Builderresources - collection of resourcespublic LinkCollectionIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.BuilderresourceGroup in class Intent.BuilderresourceGroup - the resource group@Deprecated public LinkCollectionIntent.Builder ingressPoints(java.util.Set<ConnectPoint> ingressPoints)
ingressPoints - ingress connect points@Deprecated public LinkCollectionIntent.Builder egressPoints(java.util.Set<ConnectPoint> egressPoints)
egressPoints - egress connect pointspublic LinkCollectionIntent.Builder filteredIngressPoints(java.util.Set<FilteredConnectPoint> ingressPoints)
ingressPoints - ingress connect pointspublic LinkCollectionIntent.Builder filteredEgressPoints(java.util.Set<FilteredConnectPoint> egressPoints)
egressPoints - egress connect pointspublic LinkCollectionIntent.Builder links(java.util.Set<Link> links)
links - links for the intentpublic LinkCollectionIntent.Builder applyTreatmentOnEgress(boolean treatmentOnEgress)
treatmentOnEgress - true applies treatment on egress devicepublic LinkCollectionIntent.Builder cost(double cost)
cost - the cost of the linkspublic LinkCollectionIntent build()