public static final class SinglePointToMultiPointIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatment
appId, key, priority, resourceGroup, resources
Modifier | Constructor and Description |
---|---|
protected |
Builder(SinglePointToMultiPointIntent intent)
Creates a new builder pre-populated with information from the given
intent.
|
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)
Deprecated.
|
SinglePointToMultiPointIntent.Builder |
filteredEgressPoints(Set<FilteredConnectPoint> egressPoints)
Sets the filtered egress points of the single point to
multi point intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
filteredIngressPoint(FilteredConnectPoint ingressPoint)
Sets the filtered ingress point of the single point to
multi point intent that will be built.
|
SinglePointToMultiPointIntent.Builder |
ingressPoint(ConnectPoint ingressPoint)
Deprecated.
|
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 |
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent.
|
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.
|
resources
protected Builder(SinglePointToMultiPointIntent intent)
intent
- initial intentpublic SinglePointToMultiPointIntent.Builder appId(ApplicationId appId)
Intent.Builder
appId
in class ConnectivityIntent.Builder
appId
- application id to use for built intentpublic SinglePointToMultiPointIntent.Builder key(Key key)
Intent.Builder
key
in class ConnectivityIntent.Builder
key
- key to use for built intentpublic SinglePointToMultiPointIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builder
selector
in class ConnectivityIntent.Builder
selector
- selector to use for built intentpublic SinglePointToMultiPointIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Builder
treatment
in class ConnectivityIntent.Builder
treatment
- treatment to use for built intentpublic SinglePointToMultiPointIntent.Builder constraints(List<Constraint> constraints)
ConnectivityIntent.Builder
constraints
in class ConnectivityIntent.Builder
constraints
- constraints to use for built intentpublic SinglePointToMultiPointIntent.Builder priority(int priority)
Intent.Builder
priority
in class ConnectivityIntent.Builder
priority
- priority to use for built intentpublic SinglePointToMultiPointIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.Builder
resourceGroup
in class Intent.Builder
resourceGroup
- the resource group@Deprecated public SinglePointToMultiPointIntent.Builder ingressPoint(ConnectPoint ingressPoint)
ingressPoint
- ingress connect point@Deprecated public SinglePointToMultiPointIntent.Builder egressPoints(Set<ConnectPoint> egressPoints)
egressPoints
- egress connect pointspublic SinglePointToMultiPointIntent.Builder filteredIngressPoint(FilteredConnectPoint ingressPoint)
ingressPoint
- ingress connect pointpublic SinglePointToMultiPointIntent.Builder filteredEgressPoints(Set<FilteredConnectPoint> egressPoints)
egressPoints
- egress connect pointspublic SinglePointToMultiPointIntent build()