Interface DescribeFleetEventsResponse.Builder

    • Method Detail

      • events

        DescribeFleetEventsResponse.Builder events​(Collection<Event> events)

        A collection of objects containing event log entries for the specified fleet.

        Parameters:
        events - A collection of objects containing event log entries for the specified fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • events

        DescribeFleetEventsResponse.Builder events​(Event... events)

        A collection of objects containing event log entries for the specified fleet.

        Parameters:
        events - A collection of objects containing event log entries for the specified fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • events

        DescribeFleetEventsResponse.Builder events​(Consumer<Event.Builder>... events)

        A collection of objects containing event log entries for the specified fleet.

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

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

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

        DescribeFleetEventsResponse.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.