Interface ListInstancesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>, EmrResponse.Builder, SdkBuilder<ListInstancesResponse.Builder,ListInstancesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListInstancesResponse

public static interface ListInstancesResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
  • Method Details

    • instances

      The list of instances for the cluster and given filters.

      Parameters:
      instances - The list of instances for the cluster and given filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      ListInstancesResponse.Builder instances(Instance... instances)

      The list of instances for the cluster and given filters.

      Parameters:
      instances - The list of instances for the cluster and given filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      The list of instances for the cluster and given filters.

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

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

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

      The pagination token that indicates the next set of results to retrieve.

      Parameters:
      marker - The pagination token that indicates the next set of results to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.