Interface ListContainerFleetsResponse.Builder

  • Method Details

    • containerFleets

      A collection of container fleet objects for all fleets that match the request criteria.

      Parameters:
      containerFleets - A collection of container fleet objects for all fleets that match the request criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerFleets

      ListContainerFleetsResponse.Builder containerFleets(ContainerFleet... containerFleets)

      A collection of container fleet objects for all fleets that match the request criteria.

      Parameters:
      containerFleets - A collection of container fleet objects for all fleets that match the request criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerFleets

      A collection of container fleet objects for all fleets that match the request criteria.

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

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

      Parameters:
      containerFleets - a consumer that will call methods on ContainerFleet.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.