public static class OpticalPathIntent.Builder extends Intent.Builder
appId, priority, resourceGroup, resources| Constructor and Description | 
|---|
| Builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| OpticalPathIntent.Builder | appId(ApplicationId appId)Sets the application id for the intent that will be built. | 
| OpticalPathIntent.Builder | bidirectional(boolean isBidirectional)Sets the intent's direction. | 
| OpticalPathIntent | build()Builds an optical path intent from the accumulated parameters. | 
| OpticalPathIntent.Builder | dst(ConnectPoint dst)Sets the destination for the intent that will be built. | 
| OpticalPathIntent.Builder | key(Key key)Sets the key for the intent that will be built. | 
| OpticalPathIntent.Builder | lambda(OchSignal lambda)Sets the optical channel (lambda) for the intent that will be built. | 
| OpticalPathIntent.Builder | path(Path path)Sets the path for the intent that will be built. | 
| OpticalPathIntent.Builder | priority(int priority)Sets the priority for the intent that will be built. | 
| OpticalPathIntent.Builder | resourceGroup(ResourceGroup resourceGroup)Sets the resource group for this intent. | 
| OpticalPathIntent.Builder | signalType(OchSignalType signalType)Sets the optical signal type for the intent that will be built. | 
| OpticalPathIntent.Builder | src(ConnectPoint src)Sets the source for the intent that will be built. | 
resourcespublic OpticalPathIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class Intent.BuilderappId - application id to use for built intentpublic OpticalPathIntent.Builder key(Key key)
Intent.Builderkey in class Intent.Builderkey - key to use for built intentpublic OpticalPathIntent.Builder priority(int priority)
Intent.Builderpriority in class Intent.Builderpriority - priority to use for built intentpublic OpticalPathIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.BuilderresourceGroup in class Intent.BuilderresourceGroup - the resource grouppublic OpticalPathIntent.Builder src(ConnectPoint src)
src - source to use for built intentpublic OpticalPathIntent.Builder dst(ConnectPoint dst)
dst - dest to use for built intentpublic OpticalPathIntent.Builder path(Path path)
path - path to use for built intentpublic OpticalPathIntent.Builder lambda(OchSignal lambda)
lambda - the optical channelpublic OpticalPathIntent.Builder signalType(OchSignalType signalType)
signalType - the optical signal typepublic OpticalPathIntent.Builder bidirectional(boolean isBidirectional)
isBidirectional - indicates if intent is bidirectionalpublic OpticalPathIntent build()