Interface QueryLoggingConfigurationMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryLoggingConfigurationMetadata.Builder,
,QueryLoggingConfigurationMetadata> SdkBuilder<QueryLoggingConfigurationMetadata.Builder,
,QueryLoggingConfigurationMetadata> SdkPojo
- Enclosing class:
QueryLoggingConfigurationMetadata
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the query logging configuration was created.destinations
(Collection<LoggingDestination> destinations) The configured destinations for the query logging configuration.destinations
(Consumer<LoggingDestination.Builder>... destinations) The configured destinations for the query logging configuration.destinations
(LoggingDestination... destinations) The configured destinations for the query logging configuration.modifiedAt
(Instant modifiedAt) The date and time when the query logging configuration was last modified.The current status of the query logging configuration.The current status of the query logging configuration.The ID of the workspace associated with this query logging configuration.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
-
createdAt
The date and time when the query logging configuration was created.
- Parameters:
createdAt
- The date and time when the query logging configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The configured destinations for the query logging configuration.
- Parameters:
destinations
- The configured destinations for the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The configured destinations for the query logging configuration.
- Parameters:
destinations
- The configured destinations for the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
QueryLoggingConfigurationMetadata.Builder destinations(Consumer<LoggingDestination.Builder>... destinations) The configured destinations for the query logging configuration.
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:
-
modifiedAt
The date and time when the query logging configuration was last modified.
- Parameters:
modifiedAt
- The date and time when the query logging configuration was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the query logging configuration.
- Parameters:
status
- The current status of the query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default QueryLoggingConfigurationMetadata.Builder status(Consumer<QueryLoggingConfigurationStatus.Builder> status) The current status of the query logging configuration.
This is a convenience method that creates an instance of theQueryLoggingConfigurationStatus.Builder
avoiding the need to create one manually viaQueryLoggingConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(QueryLoggingConfigurationStatus)
.- Parameters:
status
- a consumer that will call methods onQueryLoggingConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspace
The ID of the workspace associated with this query logging configuration.
- Parameters:
workspace
- The ID of the workspace associated with this query logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-