Interface ListNodesResponse.Builder

    • Method Detail

      • nodes

        ListNodesResponse.Builder nodes​(Collection<Node> nodes)

        A list of managed nodes that match the specified filter criteria.

        Parameters:
        nodes - A list of managed nodes that match the specified filter criteria.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodes

        ListNodesResponse.Builder nodes​(Node... nodes)

        A list of managed nodes that match the specified filter criteria.

        Parameters:
        nodes - A list of managed nodes that match the specified filter criteria.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodes

        ListNodesResponse.Builder nodes​(Consumer<Node.Builder>... nodes)

        A list of managed nodes that match the specified filter criteria.

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

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

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

        ListNodesResponse.Builder nextToken​(String nextToken)

        The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

        Parameters:
        nextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.