Interface ListLogSourcesRequest.Builder

    • Method Detail

      • accounts

        ListLogSourcesRequest.Builder accounts​(Collection<String> accounts)

        The list of Amazon Web Services accounts for which log sources are displayed.

        Parameters:
        accounts - The list of Amazon Web Services accounts for which log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accounts

        ListLogSourcesRequest.Builder accounts​(String... accounts)

        The list of Amazon Web Services accounts for which log sources are displayed.

        Parameters:
        accounts - The list of Amazon Web Services accounts for which log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListLogSourcesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of accounts for which the log sources are displayed.

        Parameters:
        maxResults - The maximum number of accounts for which the log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListLogSourcesRequest.Builder nextToken​(String nextToken)

        If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

        Parameters:
        nextToken - If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        ListLogSourcesRequest.Builder regions​(Collection<String> regions)

        The list of Regions for which log sources are displayed.

        Parameters:
        regions - The list of Regions for which log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        ListLogSourcesRequest.Builder regions​(String... regions)

        The list of Regions for which log sources are displayed.

        Parameters:
        regions - The list of Regions for which log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        ListLogSourcesRequest.Builder sources​(Collection<LogSourceResource> sources)

        The list of sources for which log sources are displayed.

        Parameters:
        sources - The list of sources for which log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        ListLogSourcesRequest.Builder sources​(LogSourceResource... sources)

        The list of sources for which log sources are displayed.

        Parameters:
        sources - The list of sources for which log sources are displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.