public static interface GetLogGroupFieldsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetLogGroupFieldsResponse.Builder,GetLogGroupFieldsResponse>
Modifier and Type | Method and Description |
---|---|
GetLogGroupFieldsResponse.Builder |
logGroupFields(Collection<LogGroupField> logGroupFields)
The array of fields found in the query.
|
GetLogGroupFieldsResponse.Builder |
logGroupFields(Consumer<LogGroupField.Builder>... logGroupFields)
The array of fields found in the query.
|
GetLogGroupFieldsResponse.Builder |
logGroupFields(LogGroupField... logGroupFields)
The array of fields found in the query.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
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.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.
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.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 theLogGroupField.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
.
logGroupFields
- a consumer that will call methods on
LogGroupField.Builder
#logGroupFields(java.util.Collection)
Copyright © 2022. All rights reserved.