Class UnidirectionalServicePath.Builder

    • Method Detail

      • setHops

        public UnidirectionalServicePath.Builder setHops​(java.util.List<ServicePathHop> hops)
        List of service path hops that constitutes the forward or reverse service path. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        hops - New value for the property.
      • setHostCrossCount

        public UnidirectionalServicePath.Builder setHostCrossCount​(java.lang.Long hostCrossCount)
        The number of times the traffic needs to cross hosts for the given forward or reverse service path. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        hostCrossCount - New value for the property.
      • setInMaintenanceMode

        public UnidirectionalServicePath.Builder setInMaintenanceMode​(java.lang.Boolean inMaintenanceMode)
        Is forward or revserse service path in maintenance mode or not. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        inMaintenanceMode - New value for the property.
      • setIsActive

        public UnidirectionalServicePath.Builder setIsActive​(java.lang.Boolean isActive)
        Is forward or revserse service path active or not. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        isActive - New value for the property.
      • setUnidirServicePathId

        public UnidirectionalServicePath.Builder setUnidirServicePathId​(java.lang.Long unidirServicePathId)
        Unique identifier of one directional service path. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        unidirServicePathId - New value for the property.