Interface GetLogFieldsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<GetLogFieldsResponse.Builder,GetLogFieldsResponse>,SdkBuilder<GetLogFieldsResponse.Builder,GetLogFieldsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLogFieldsResponse
@Mutable @NotThreadSafe public static interface GetLogFieldsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetLogFieldsResponse.Builder,GetLogFieldsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLogFieldsResponse.BuilderlogFields(Collection<LogFieldsListItem> logFields)The list of log fields for the specified data source, including field names and their data types.GetLogFieldsResponse.BuilderlogFields(Consumer<LogFieldsListItem.Builder>... logFields)The list of log fields for the specified data source, including field names and their data types.GetLogFieldsResponse.BuilderlogFields(LogFieldsListItem... logFields)The list of log fields for the specified data source, including field names and their data types.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
logFields
GetLogFieldsResponse.Builder logFields(Collection<LogFieldsListItem> logFields)
The list of log fields for the specified data source, including field names and their data types.
- Parameters:
logFields- The list of log fields for the specified data source, including field names and their data types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logFields
GetLogFieldsResponse.Builder logFields(LogFieldsListItem... logFields)
The list of log fields for the specified data source, including field names and their data types.
- Parameters:
logFields- The list of log fields for the specified data source, including field names and their data types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logFields
GetLogFieldsResponse.Builder logFields(Consumer<LogFieldsListItem.Builder>... logFields)
The list of log fields for the specified data source, including field names and their data types.
This is a convenience method that creates an instance of theLogFieldsListItem.Builderavoiding the need to create one manually viaLogFieldsListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#logFields(List.) - Parameters:
logFields- a consumer that will call methods onLogFieldsListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#logFields(java.util.Collection)
-
-