Interface ListRotationsResponse.Builder

  • Method Details

    • nextToken

      ListRotationsResponse.Builder nextToken(String nextToken)

      The token for the next set of items to return. Use this token to get the next set of results.

      Parameters:
      nextToken - The token for the next set of items to return. Use this token to get the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rotations

      Information about rotations that meet the filter criteria.

      Parameters:
      rotations - Information about rotations that meet the filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rotations

      ListRotationsResponse.Builder rotations(Rotation... rotations)

      Information about rotations that meet the filter criteria.

      Parameters:
      rotations - Information about rotations that meet the filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rotations

      Information about rotations that meet the filter criteria.

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

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

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