Interface DescribeEventsResponse.Builder

    • Method Detail

      • serverEvents

        DescribeEventsResponse.Builder serverEvents​(Collection<ServerEvent> serverEvents)

        Contains the response to a DescribeEvents request.

        Parameters:
        serverEvents - Contains the response to a DescribeEvents request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverEvents

        DescribeEventsResponse.Builder serverEvents​(ServerEvent... serverEvents)

        Contains the response to a DescribeEvents request.

        Parameters:
        serverEvents - Contains the response to a DescribeEvents request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeEventsResponse.Builder nextToken​(String nextToken)

        NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeEvents again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur.

        Parameters:
        nextToken - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call DescribeEvents again, and assign the token from the previous results as the value of the nextToken parameter. If there are no more results, the response object's nextToken parameter value is null. Setting a nextToken value that was not returned in your previous results causes an InvalidNextTokenException to occur.
        Returns:
        Returns a reference to this object so that method calls can be chained together.