public static final class PointToPointIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatment
appId, key, priority, resourceGroup, resources
Modifier and Type | Method and Description |
---|---|
PointToPointIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
PointToPointIntent |
build()
Builds a point to point intent from the accumulated parameters.
|
PointToPointIntent.Builder |
constraints(java.util.List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
PointToPointIntent.Builder |
egressPoint(ConnectPoint egressPoint)
Deprecated.
|
PointToPointIntent.Builder |
filteredEgressPoint(FilteredConnectPoint egressPoint)
Sets the filtered egress point of the point to
point intent that will be built.
|
PointToPointIntent.Builder |
filteredIngressPoint(FilteredConnectPoint ingressPoint)
Sets the filtered ingress point of the point to
point intent that will be built.
|
PointToPointIntent.Builder |
ingressPoint(ConnectPoint ingressPoint)
Deprecated.
|
PointToPointIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
PointToPointIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
PointToPointIntent.Builder |
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent.
|
PointToPointIntent.Builder |
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
PointToPointIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
resources
public PointToPointIntent.Builder appId(ApplicationId appId)
Intent.Builder
appId
in class ConnectivityIntent.Builder
appId
- application id to use for built intentpublic PointToPointIntent.Builder key(Key key)
Intent.Builder
key
in class ConnectivityIntent.Builder
key
- key to use for built intentpublic PointToPointIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builder
selector
in class ConnectivityIntent.Builder
selector
- selector to use for built intentpublic PointToPointIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Builder
treatment
in class ConnectivityIntent.Builder
treatment
- treatment to use for built intentpublic PointToPointIntent.Builder constraints(java.util.List<Constraint> constraints)
ConnectivityIntent.Builder
constraints
in class ConnectivityIntent.Builder
constraints
- constraints to use for built intentpublic PointToPointIntent.Builder priority(int priority)
Intent.Builder
priority
in class ConnectivityIntent.Builder
priority
- priority to use for built intentpublic PointToPointIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.Builder
resourceGroup
in class Intent.Builder
resourceGroup
- the resource group@Deprecated public PointToPointIntent.Builder ingressPoint(ConnectPoint ingressPoint)
ingressPoint
- ingress connect point@Deprecated public PointToPointIntent.Builder egressPoint(ConnectPoint egressPoint)
egressPoint
- egress connect pointpublic PointToPointIntent.Builder filteredIngressPoint(FilteredConnectPoint ingressPoint)
ingressPoint
- filtered ingress connect pointpublic PointToPointIntent.Builder filteredEgressPoint(FilteredConnectPoint egressPoint)
egressPoint
- filtered egress connect pointpublic PointToPointIntent build()