Interface UpdateQueryLoggingConfigurationRequest.Builder
- All Superinterfaces:
AmpRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateQueryLoggingConfigurationRequest.Builder,
,UpdateQueryLoggingConfigurationRequest> SdkBuilder<UpdateQueryLoggingConfigurationRequest.Builder,
,UpdateQueryLoggingConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateQueryLoggingConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) (Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.destinations
(Collection<LoggingDestination> destinations) The destinations where query logs will be sent.destinations
(Consumer<LoggingDestination.Builder>... destinations) The destinations where query logs will be sent.destinations
(LoggingDestination... destinations) The destinations where query logs will be sent.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceId
(String workspaceId) The ID of the workspace for which to update the query logging configuration.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
clientToken
(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
- Parameters:
clientToken
- (Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
UpdateQueryLoggingConfigurationRequest.Builder destinations(Collection<LoggingDestination> destinations) The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.
- Parameters:
destinations
- The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.
- Parameters:
destinations
- The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
UpdateQueryLoggingConfigurationRequest.Builder destinations(Consumer<LoggingDestination.Builder>... destinations) The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.
This is a convenience method that creates an instance of theLoggingDestination.Builder
avoiding the need to create one manually viaLoggingDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<LoggingDestination>)
.- Parameters:
destinations
- a consumer that will call methods onLoggingDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspaceId
The ID of the workspace for which to update the query logging configuration.
- Parameters:
workspaceId
- The ID of the workspace for which to update the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateQueryLoggingConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateQueryLoggingConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-