Interface GetLogGroupFieldsResponse.Builder

    • Method Detail

      • logGroupFields

        GetLogGroupFieldsResponse.Builder logGroupFields​(Collection<LogGroupField> logGroupFields)

        The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.

        Parameters:
        logGroupFields - The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logGroupFields

        GetLogGroupFieldsResponse.Builder logGroupFields​(LogGroupField... logGroupFields)

        The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.

        Parameters:
        logGroupFields - The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logGroupFields

        GetLogGroupFieldsResponse.Builder logGroupFields​(Consumer<LogGroupField.Builder>... logGroupFields)

        The array of fields found in the query. Each object in the array contains the name of the field, along with the percentage of time it appeared in the log events that were queried.

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

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

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