Interface GetLogGroupFieldsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<GetLogGroupFieldsResponse.Builder,
,GetLogGroupFieldsResponse> SdkBuilder<GetLogGroupFieldsResponse.Builder,
,GetLogGroupFieldsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLogGroupFieldsResponse
public static interface GetLogGroupFieldsResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetLogGroupFieldsResponse.Builder,GetLogGroupFieldsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlogGroupFields
(Collection<LogGroupField> logGroupFields) The array of fields found in the query.logGroupFields
(Consumer<LogGroupField.Builder>... logGroupFields) The array of fields found in the query.logGroupFields
(LogGroupField... logGroupFields) The array of fields found in the query.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theLogGroupField.Builder
avoiding the need to create one manually viaLogGroupField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologGroupFields(List<LogGroupField>)
.- Parameters:
logGroupFields
- a consumer that will call methods onLogGroupField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-