Interface DescribeLogGroupsResponse.Builder

    • Method Detail

      • logGroups

        DescribeLogGroupsResponse.Builder logGroups​(Collection<LogGroup> logGroups)

        The log groups.

        If the retentionInDays value is not included for a log group, then that log group's events do not expire.

        Parameters:
        logGroups - The log groups.

        If the retentionInDays value is not included for a log group, then that log group's events do not expire.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logGroups

        DescribeLogGroupsResponse.Builder logGroups​(LogGroup... logGroups)

        The log groups.

        If the retentionInDays value is not included for a log group, then that log group's events do not expire.

        Parameters:
        logGroups - The log groups.

        If the retentionInDays value is not included for a log group, then that log group's events do not expire.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logGroups

        DescribeLogGroupsResponse.Builder logGroups​(Consumer<LogGroup.Builder>... logGroups)

        The log groups.

        If the retentionInDays value is not included for a log group, then that log group's events do not expire.

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

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

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

        DescribeLogGroupsResponse.Builder nextToken​(String nextToken)
        Sets the value of the NextToken property for this object.
        Parameters:
        nextToken - The new value for the NextToken property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.