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