Class FilterLogEventsResult

    • Constructor Detail

      • FilterLogEventsResult

        public FilterLogEventsResult()
    • Method Detail

      • getEvents

        public List<FilteredLogEvent> getEvents()

        A list of FilteredLogEvent objects representing the matched events from the request.

        Returns:
        A list of FilteredLogEvent objects representing the matched events from the request.
      • setEvents

        public void setEvents​(Collection<FilteredLogEvent> events)

        A list of FilteredLogEvent objects representing the matched events from the request.

        Parameters:
        events - A list of FilteredLogEvent objects representing the matched events from the request.
      • withEvents

        public FilterLogEventsResult withEvents​(FilteredLogEvent... events)

        A list of FilteredLogEvent objects representing the matched events from the request.

        NOTE: This method appends the values to the existing list (if any). Use setEvents(java.util.Collection) or withEvents(java.util.Collection) if you want to override the existing values.

        Parameters:
        events - A list of FilteredLogEvent objects representing the matched events from the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEvents

        public FilterLogEventsResult withEvents​(Collection<FilteredLogEvent> events)

        A list of FilteredLogEvent objects representing the matched events from the request.

        Parameters:
        events - A list of FilteredLogEvent objects representing the matched events from the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSearchedLogStreams

        public List<SearchedLogStream> getSearchedLogStreams()

        A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.

        Returns:
        A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.
      • setSearchedLogStreams

        public void setSearchedLogStreams​(Collection<SearchedLogStream> searchedLogStreams)

        A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.

        Parameters:
        searchedLogStreams - A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.
      • withSearchedLogStreams

        public FilterLogEventsResult withSearchedLogStreams​(SearchedLogStream... searchedLogStreams)

        A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.

        NOTE: This method appends the values to the existing list (if any). Use setSearchedLogStreams(java.util.Collection) or withSearchedLogStreams(java.util.Collection) if you want to override the existing values.

        Parameters:
        searchedLogStreams - A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSearchedLogStreams

        public FilterLogEventsResult withSearchedLogStreams​(Collection<SearchedLogStream> searchedLogStreams)

        A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.

        Parameters:
        searchedLogStreams - A list of SearchedLogStream objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        A pagination token obtained from a FilterLogEvents response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.

        Parameters:
        nextToken - A pagination token obtained from a FilterLogEvents response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.
      • getNextToken

        public String getNextToken()

        A pagination token obtained from a FilterLogEvents response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.

        Returns:
        A pagination token obtained from a FilterLogEvents response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.
      • withNextToken

        public FilterLogEventsResult withNextToken​(String nextToken)

        A pagination token obtained from a FilterLogEvents response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.

        Parameters:
        nextToken - A pagination token obtained from a FilterLogEvents response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object