public static class OpticalOduIntent.Builder extends Intent.Builder
appId, key, priority, resourceGroup, resources| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OpticalOduIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
OpticalOduIntent.Builder |
bidirectional(boolean isBidirectional)
Sets the directionality of the intent.
|
OpticalOduIntent |
build()
Builds an optical ODU intent from the accumulated parameters.
|
OpticalOduIntent.Builder |
dst(ConnectPoint dst)
Sets the destination for the intent that will be built.
|
OpticalOduIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
OpticalOduIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
OpticalOduIntent.Builder |
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent.
|
OpticalOduIntent.Builder |
signalType(CltSignalType signalType)
Sets the ODU signal type for the intent that will be built.
|
OpticalOduIntent.Builder |
src(ConnectPoint src)
Sets the source for the intent that will be built.
|
resourcespublic OpticalOduIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class Intent.BuilderappId - application id to use for built intentpublic OpticalOduIntent.Builder key(Key key)
Intent.Builderkey in class Intent.Builderkey - key to use for built intentpublic OpticalOduIntent.Builder priority(int priority)
Intent.Builderpriority in class Intent.Builderpriority - priority to use for built intentpublic OpticalOduIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.BuilderresourceGroup in class Intent.BuilderresourceGroup - the resource grouppublic OpticalOduIntent.Builder src(ConnectPoint src)
src - source to use for built intentpublic OpticalOduIntent.Builder dst(ConnectPoint dst)
dst - dest to use for built intentpublic OpticalOduIntent.Builder signalType(CltSignalType signalType)
signalType - signal type to use for built intentpublic OpticalOduIntent.Builder bidirectional(boolean isBidirectional)
isBidirectional - true if bidirectional, false if unidirectionalpublic OpticalOduIntent build()