Class ProtectionEndpointIntent


  • @Immutable
    @Beta
    public class ProtectionEndpointIntent
    extends Intent
    Installable Intent for the ProtectionEndpoint (head/tail).
    • Constructor Detail

      • ProtectionEndpointIntent

        protected ProtectionEndpointIntent​(ApplicationId appId,
                                           Key key,
                                           java.util.Collection<NetworkResource> resources,
                                           int priority,
                                           DeviceId deviceId,
                                           ProtectedTransportEndpointDescription description,
                                           ResourceGroup resourceGroup)
        Creates a ProtectionEndpointIntent by specific resource and description.
        Parameters:
        appId - application identification
        key - intent key
        resources - network resource to be set
        priority - priority to use for flows from this intent
        deviceId - target device id
        description - protected transport endpoint description of the intent
        resourceGroup - resource group for this intent
    • Method Detail

      • deviceId

        public DeviceId deviceId()
        Returns the identifier of the device to be configured.
        Returns:
        the deviceId
      • isInstallable

        public boolean isInstallable()
        Description copied from class: Intent
        Indicates whether or not the intent is installable.
        Overrides:
        isInstallable in class Intent
        Returns:
        true if installable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object