public static final class TwoWayP2PIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatmentappId, key, priority, resourceGroup, resources| Modifier and Type | Method and Description |
|---|---|
TwoWayP2PIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
TwoWayP2PIntent |
build()
Builds a point to point intent from the accumulated parameters.
|
TwoWayP2PIntent.Builder |
constraints(java.util.List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
TwoWayP2PIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
TwoWayP2PIntent.Builder |
one(ConnectPoint one)
Sets the first connection point of the two way intent that will be built.
|
TwoWayP2PIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
TwoWayP2PIntent.Builder |
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent.
|
TwoWayP2PIntent.Builder |
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
TwoWayP2PIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
TwoWayP2PIntent.Builder |
two(ConnectPoint two)
Sets the second connection point of the two way intent that will be built.
|
resourcespublic TwoWayP2PIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class ConnectivityIntent.BuilderappId - application id to use for built intentpublic TwoWayP2PIntent.Builder key(Key key)
Intent.Builderkey in class ConnectivityIntent.Builderkey - key to use for built intentpublic TwoWayP2PIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builderselector in class ConnectivityIntent.Builderselector - selector to use for built intentpublic TwoWayP2PIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Buildertreatment in class ConnectivityIntent.Buildertreatment - treatment to use for built intentpublic TwoWayP2PIntent.Builder constraints(java.util.List<Constraint> constraints)
ConnectivityIntent.Builderconstraints in class ConnectivityIntent.Builderconstraints - constraints to use for built intentpublic TwoWayP2PIntent.Builder priority(int priority)
Intent.Builderpriority in class ConnectivityIntent.Builderpriority - priority to use for built intentpublic TwoWayP2PIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.BuilderresourceGroup in class Intent.BuilderresourceGroup - the resource grouppublic TwoWayP2PIntent.Builder one(ConnectPoint one)
one - first connect pointpublic TwoWayP2PIntent.Builder two(ConnectPoint two)
two - second connect pointpublic TwoWayP2PIntent build()