Interface ExecuteScheduledQueryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExecuteScheduledQueryRequest.Builder,
,ExecuteScheduledQueryRequest> SdkBuilder<ExecuteScheduledQueryRequest.Builder,
,ExecuteScheduledQueryRequest> SdkPojo
,SdkRequest.Builder
,TimestreamQueryRequest.Builder
- Enclosing class:
ExecuteScheduledQueryRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Not used.invocationTime
(Instant invocationTime) The timestamp in UTC.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryInsights
(Consumer<ScheduledQueryInsights.Builder> queryInsights) Encapsulates settings for enablingQueryInsights
.queryInsights
(ScheduledQueryInsights queryInsights) Encapsulates settings for enablingQueryInsights
.scheduledQueryArn
(String scheduledQueryArn) ARN of the scheduled query.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
Methods inherited from interface software.amazon.awssdk.services.timestreamquery.model.TimestreamQueryRequest.Builder
build
-
Method Details
-
scheduledQueryArn
ARN of the scheduled query.
- Parameters:
scheduledQueryArn
- ARN of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationTime
The timestamp in UTC. Query will be run as if it was invoked at this timestamp.
- Parameters:
invocationTime
- The timestamp in UTC. Query will be run as if it was invoked at this timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Not used.
- Parameters:
clientToken
- Not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryInsights
Encapsulates settings for enabling
QueryInsights
.Enabling
QueryInsights
returns insights and metrics as a part of the Amazon SNS notification for the query that you executed. You can useQueryInsights
to tune your query performance and cost.- Parameters:
queryInsights
- Encapsulates settings for enablingQueryInsights
.Enabling
QueryInsights
returns insights and metrics as a part of the Amazon SNS notification for the query that you executed. You can useQueryInsights
to tune your query performance and cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryInsights
default ExecuteScheduledQueryRequest.Builder queryInsights(Consumer<ScheduledQueryInsights.Builder> queryInsights) Encapsulates settings for enabling
QueryInsights
.Enabling
This is a convenience method that creates an instance of theQueryInsights
returns insights and metrics as a part of the Amazon SNS notification for the query that you executed. You can useQueryInsights
to tune your query performance and cost.ScheduledQueryInsights.Builder
avoiding the need to create one manually viaScheduledQueryInsights.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryInsights(ScheduledQueryInsights)
.- Parameters:
queryInsights
- a consumer that will call methods onScheduledQueryInsights.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExecuteScheduledQueryRequest.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
ExecuteScheduledQueryRequest.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.
-