public static class PathIntent.Builder extends ConnectivityIntent.Builder
constraints, selector, treatmentappId, key, priority, resourceGroup, resources| Modifier | Constructor and Description | 
|---|---|
protected  | 
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
PathIntent.Builder | 
appId(ApplicationId appId)
Sets the application id for the intent that will be built. 
 | 
PathIntent | 
build()
Builds a path intent from the accumulated parameters. 
 | 
PathIntent.Builder | 
constraints(List<Constraint> constraints)
Sets the constraints for the intent that will be built. 
 | 
PathIntent.Builder | 
key(Key key)
Sets the key for the intent that will be built. 
 | 
PathIntent.Builder | 
path(Path path)
Sets the path of the intent that will be built. 
 | 
PathIntent.Builder | 
priority(int priority)
Sets the priority for the intent that will be built. 
 | 
PathIntent.Builder | 
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent. 
 | 
PathIntent.Builder | 
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built. 
 | 
PathIntent.Builder | 
setType(PathIntent.ProtectionType type)  | 
PathIntent.Builder | 
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built. 
 | 
resourcespublic PathIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class ConnectivityIntent.BuilderappId - application id to use for built intentpublic PathIntent.Builder key(Key key)
Intent.Builderkey in class ConnectivityIntent.Builderkey - key to use for built intentpublic PathIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builderselector in class ConnectivityIntent.Builderselector - selector to use for built intentpublic PathIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Buildertreatment in class ConnectivityIntent.Buildertreatment - treatment to use for built intentpublic PathIntent.Builder constraints(List<Constraint> constraints)
ConnectivityIntent.Builderconstraints in class ConnectivityIntent.Builderconstraints - constraints to use for built intentpublic PathIntent.Builder priority(int priority)
Intent.Builderpriority in class ConnectivityIntent.Builderpriority - priority to use for built intentpublic PathIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.BuilderresourceGroup in class Intent.BuilderresourceGroup - the resource grouppublic PathIntent.Builder path(Path path)
path - path for the intentpublic PathIntent.Builder setType(PathIntent.ProtectionType type)
public PathIntent build()