Class FindRelationsRequest.Builder

  • Enclosing class:
    FindRelationsRequest

    public static final class FindRelationsRequest.Builder
    extends Object
    • Field Detail

      • offset

        @Deprecated(forRemoval=true)
        protected int offset
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use cursor paginations
      • limit

        @Deprecated
        protected int limit
        Deprecated.
    • Method Detail

      • offset

        @Deprecated(forRemoval=true)
        public FindRelationsRequest.Builder offset​(int offset)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use cursor pagination.
      • cursor

        public FindRelationsRequest.Builder cursor​(String cursor)
        Parameters:
        cursor - Cursor for the current page of results. To retrieve the first page with cursor pagination you need to pass this parameter with an empty value (must be non-null). For the next pages, the value must be taken from the response (nextCursor property).
        Returns:
        this.
      • relationTypeId

        public FindRelationsRequest.Builder relationTypeId​(UUID relationTypeId)
        Parameters:
        relationTypeId - The ID of the type of relations to search for.
        Returns:
        this.
      • sourceId

        public FindRelationsRequest.Builder sourceId​(UUID sourceId)
        Parameters:
        sourceId - The ID of the source of relations to search for.
        Returns:
        this.
      • targetId

        public FindRelationsRequest.Builder targetId​(UUID targetId)
        Parameters:
        targetId - The ID of the target of relations to search for.
        Returns:
        this.
      • toString

        public String toString()
        Overrides:
        toString in class Object