Interface DescribeQueryLoggingConfigurationResponse.Builder
- All Superinterfaces:
AmpResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeQueryLoggingConfigurationResponse.Builder,
,DescribeQueryLoggingConfigurationResponse> SdkBuilder<DescribeQueryLoggingConfigurationResponse.Builder,
,DescribeQueryLoggingConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeQueryLoggingConfigurationResponse
@Mutable
@NotThreadSafe
public static interface DescribeQueryLoggingConfigurationResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<DescribeQueryLoggingConfigurationResponse.Builder,DescribeQueryLoggingConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionqueryLoggingConfiguration
(Consumer<QueryLoggingConfigurationMetadata.Builder> queryLoggingConfiguration) The detailed information about the query logging configuration for the specified workspace.queryLoggingConfiguration
(QueryLoggingConfigurationMetadata queryLoggingConfiguration) The detailed information about the query logging configuration for the specified workspace.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.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 Details
-
queryLoggingConfiguration
DescribeQueryLoggingConfigurationResponse.Builder queryLoggingConfiguration(QueryLoggingConfigurationMetadata queryLoggingConfiguration) The detailed information about the query logging configuration for the specified workspace.
- Parameters:
queryLoggingConfiguration
- The detailed information about the query logging configuration for the specified workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryLoggingConfiguration
default DescribeQueryLoggingConfigurationResponse.Builder queryLoggingConfiguration(Consumer<QueryLoggingConfigurationMetadata.Builder> queryLoggingConfiguration) The detailed information about the query logging configuration for the specified workspace.
This is a convenience method that creates an instance of theQueryLoggingConfigurationMetadata.Builder
avoiding the need to create one manually viaQueryLoggingConfigurationMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryLoggingConfiguration(QueryLoggingConfigurationMetadata)
.- Parameters:
queryLoggingConfiguration
- a consumer that will call methods onQueryLoggingConfigurationMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-