Interface DescribeLogGroupsResponse.Builder

  • Method Details

    • 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

      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

      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<LogGroup>).

      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:
    • 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.