Interface ListNodesResponse.Builder

  • Method Details

    • nextToken

      ListNodesResponse.Builder nextToken(String nextToken)

      The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request.

      Parameters:
      nextToken -

      The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeInfoList

      ListNodesResponse.Builder nodeInfoList(Collection<NodeInfo> nodeInfoList)

      List containing a NodeInfo object.

      Parameters:
      nodeInfoList -

      List containing a NodeInfo object.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeInfoList

      ListNodesResponse.Builder nodeInfoList(NodeInfo... nodeInfoList)

      List containing a NodeInfo object.

      Parameters:
      nodeInfoList -

      List containing a NodeInfo object.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeInfoList

      ListNodesResponse.Builder nodeInfoList(Consumer<NodeInfo.Builder>... nodeInfoList)

      List containing a NodeInfo object.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nodeInfoList(List<NodeInfo>).

      Parameters:
      nodeInfoList - a consumer that will call methods on NodeInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: