Interface QueryLineageResponse.Builder

    • Method Detail

      • vertices

        QueryLineageResponse.Builder vertices​(Collection<Vertex> vertices)

        A list of vertices connected to the start entity(ies) in the lineage graph.

        Parameters:
        vertices - A list of vertices connected to the start entity(ies) in the lineage graph.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vertices

        QueryLineageResponse.Builder vertices​(Vertex... vertices)

        A list of vertices connected to the start entity(ies) in the lineage graph.

        Parameters:
        vertices - A list of vertices connected to the start entity(ies) in the lineage graph.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vertices

        QueryLineageResponse.Builder vertices​(Consumer<Vertex.Builder>... vertices)

        A list of vertices connected to the start entity(ies) in the lineage graph.

        This is a convenience method that creates an instance of the Vertex.Builder avoiding the need to create one manually via Vertex.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #vertices(List).

        Parameters:
        vertices - a consumer that will call methods on Vertex.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #vertices(java.util.Collection)
      • edges

        QueryLineageResponse.Builder edges​(Collection<Edge> edges)

        A list of edges that connect vertices in the response.

        Parameters:
        edges - A list of edges that connect vertices in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • edges

        QueryLineageResponse.Builder edges​(Edge... edges)

        A list of edges that connect vertices in the response.

        Parameters:
        edges - A list of edges that connect vertices in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • edges

        QueryLineageResponse.Builder edges​(Consumer<Edge.Builder>... edges)

        A list of edges that connect vertices in the response.

        This is a convenience method that creates an instance of the Edge.Builder avoiding the need to create one manually via Edge.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #edges(List).

        Parameters:
        edges - a consumer that will call methods on Edge.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #edges(java.util.Collection)
      • nextToken

        QueryLineageResponse.Builder nextToken​(String nextToken)

        Limits the number of vertices in the response. Use the NextToken in a response to to retrieve the next page of results.

        Parameters:
        nextToken - Limits the number of vertices in the response. Use the NextToken in a response to to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.