Interface DescribeInstancesResponse.Builder

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

public static interface DescribeInstancesResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
  • Method Details

    • instances

      A collection of objects containing properties for each instance returned.

      Parameters:
      instances - A collection of objects containing properties for each instance returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      A collection of objects containing properties for each instance returned.

      Parameters:
      instances - A collection of objects containing properties for each instance returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      A collection of objects containing properties for each instance returned.

      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:
    • 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.