Interface GetLogGroupFieldsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudWatchLogsResponse.Builder, CopyableBuilder<GetLogGroupFieldsResponse.Builder,GetLogGroupFieldsResponse>, SdkBuilder<GetLogGroupFieldsResponse.Builder,GetLogGroupFieldsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetLogGroupFieldsResponse

  • Method Details

    • 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

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

      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: