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.
|
resources
public OpticalOduIntent.Builder appId(ApplicationId appId)
Intent.Builder
appId
in class Intent.Builder
appId
- application id to use for built intentpublic OpticalOduIntent.Builder key(Key key)
Intent.Builder
key
in class Intent.Builder
key
- key to use for built intentpublic OpticalOduIntent.Builder priority(int priority)
Intent.Builder
priority
in class Intent.Builder
priority
- priority to use for built intentpublic OpticalOduIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.Builder
resourceGroup
in class Intent.Builder
resourceGroup
- 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()