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
Modifier and TypeMethodDescriptionlogFields(Collection<LogFieldsListItem> logFields) The list of log fields for the specified data source, including field names and their data types.logFields(Consumer<LogFieldsListItem.Builder>... logFields) The list of log fields for the specified data source, including field names and their data types.logFields(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 tologFields(List<LogFieldsListItem>).- 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:
-