@Beta public class OpticalCircuitIntent extends Intent
| Modifier and Type | Class and Description | 
|---|---|
| static class  | OpticalCircuitIntent.BuilderBuilder for optical circuit intents. | 
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY| Modifier | Constructor and Description | 
|---|---|
| protected  | OpticalCircuitIntent()Constructor for serializer. | 
| protected  | OpticalCircuitIntent(ApplicationId appId,
                    Key key,
                    ConnectPoint src,
                    ConnectPoint dst,
                    CltSignalType signalType,
                    boolean isBidirectional,
                    int priority,
                    ResourceGroup resourceGroup)Creates an optical circuit intent between the specified
 connection points. | 
| Modifier and Type | Method and Description | 
|---|---|
| static OpticalCircuitIntent.Builder | builder()Returns a new optical circuit intent builder. | 
| ConnectPoint | getDst()Returns the destination transponder port. | 
| CltSignalType | getSignalType()Returns the ODU signal type. | 
| ConnectPoint | getSrc()Returns the source transponder port. | 
| boolean | isBidirectional()Returns the directionality of the intent. | 
| String | toString() | 
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGeneratorprotected OpticalCircuitIntent(ApplicationId appId, Key key, ConnectPoint src, ConnectPoint dst, CltSignalType signalType, boolean isBidirectional, int priority, ResourceGroup resourceGroup)
appId - application identificationkey - intent keysrc - the source transponder portdst - the destination transponder portsignalType - ODU signal typeisBidirectional - indicate if intent is bidirectionalpriority - priority to use for flows from this intentresourceGroup - resource group for this intentprotected OpticalCircuitIntent()
public static OpticalCircuitIntent.Builder builder()
public ConnectPoint getSrc()
public ConnectPoint getDst()
public CltSignalType getSignalType()
public boolean isBidirectional()