Interface ListComputeResponse.Builder

    • Method Detail

      • computeList

        ListComputeResponse.Builder computeList​(Collection<Compute> computeList)

        A list of compute resources in the specified fleet.

        Parameters:
        computeList - A list of compute resources in the specified fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computeList

        ListComputeResponse.Builder computeList​(Compute... computeList)

        A list of compute resources in the specified fleet.

        Parameters:
        computeList - A list of compute resources in the specified fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computeList

        ListComputeResponse.Builder computeList​(Consumer<Compute.Builder>... computeList)

        A list of compute resources in the specified fleet.

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

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

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

        ListComputeResponse.Builder nextToken​(String nextToken)

        A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.

        Parameters:
        nextToken - A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.