Interface CreateQueryLoggingConfigurationRequest.Builder
- All Superinterfaces:
 AmpRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateQueryLoggingConfigurationRequest.Builder,,CreateQueryLoggingConfigurationRequest> SdkBuilder<CreateQueryLoggingConfigurationRequest.Builder,,CreateQueryLoggingConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 CreateQueryLoggingConfigurationRequest
- 
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 create the query logging configuration.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields 
- 
Method Details
- 
workspaceId
The ID of the workspace for which to create the query logging configuration.
- Parameters:
 workspaceId- The ID of the workspace for which to create the query logging configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
destinations
CreateQueryLoggingConfigurationRequest.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
CreateQueryLoggingConfigurationRequest.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.Builderavoiding the need to create one manually viaLoggingDestination.builder().When the
Consumercompletes,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:
 
 - 
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.
 
 - 
overrideConfiguration
CreateQueryLoggingConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
CreateQueryLoggingConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -