Interface ScheduledQueryDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduledQueryDescription.Builder,
,ScheduledQueryDescription> SdkBuilder<ScheduledQueryDescription.Builder,
,ScheduledQueryDescription> SdkPojo
- Enclosing class:
ScheduledQueryDescription
-
Method Summary
Modifier and TypeMethodDescriptionScheduled query ARN.creationTime
(Instant creationTime) Creation time of the scheduled query.errorReportConfiguration
(Consumer<ErrorReportConfiguration.Builder> errorReportConfiguration) Error-reporting configuration for the scheduled query.errorReportConfiguration
(ErrorReportConfiguration errorReportConfiguration) Error-reporting configuration for the scheduled query.A customer provided KMS key used to encrypt the scheduled query resource.lastRunSummary
(Consumer<ScheduledQueryRunSummary.Builder> lastRunSummary) Runtime summary for the last scheduled query run.lastRunSummary
(ScheduledQueryRunSummary lastRunSummary) Runtime summary for the last scheduled query run.Name of the scheduled query.nextInvocationTime
(Instant nextInvocationTime) The next time the scheduled query is scheduled to run.notificationConfiguration
(Consumer<NotificationConfiguration.Builder> notificationConfiguration) Notification configuration.notificationConfiguration
(NotificationConfiguration notificationConfiguration) Notification configuration.previousInvocationTime
(Instant previousInvocationTime) Last time the query was run.queryString
(String queryString) The query to be run.recentlyFailedRuns
(Collection<ScheduledQueryRunSummary> recentlyFailedRuns) Runtime summary for the last five failed scheduled query runs.recentlyFailedRuns
(Consumer<ScheduledQueryRunSummary.Builder>... recentlyFailedRuns) Runtime summary for the last five failed scheduled query runs.recentlyFailedRuns
(ScheduledQueryRunSummary... recentlyFailedRuns) Runtime summary for the last five failed scheduled query runs.scheduleConfiguration
(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) Schedule configuration.scheduleConfiguration
(ScheduleConfiguration scheduleConfiguration) Schedule configuration.scheduledQueryExecutionRoleArn
(String scheduledQueryExecutionRoleArn) IAM role that Timestream uses to run the schedule query.State of the scheduled query.state
(ScheduledQueryState state) State of the scheduled query.targetConfiguration
(Consumer<TargetConfiguration.Builder> targetConfiguration) Scheduled query target store configuration.targetConfiguration
(TargetConfiguration targetConfiguration) Scheduled query target store 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, sdkFields
-
Method Details
-
arn
Scheduled query ARN.
- Parameters:
arn
- Scheduled query ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the scheduled query.
- Parameters:
name
- Name of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The query to be run.
- Parameters:
queryString
- The query to be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Creation time of the scheduled query.
- Parameters:
creationTime
- Creation time of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
State of the scheduled query.
- Parameters:
state
- State of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
State of the scheduled query.
- Parameters:
state
- State of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previousInvocationTime
Last time the query was run.
- Parameters:
previousInvocationTime
- Last time the query was run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextInvocationTime
The next time the scheduled query is scheduled to run.
- Parameters:
nextInvocationTime
- The next time the scheduled query is scheduled to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
ScheduledQueryDescription.Builder scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) Schedule configuration.
- Parameters:
scheduleConfiguration
- Schedule configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default ScheduledQueryDescription.Builder scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) Schedule configuration.
This is a convenience method that creates an instance of theScheduleConfiguration.Builder
avoiding the need to create one manually viaScheduleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduleConfiguration(ScheduleConfiguration)
.- Parameters:
scheduleConfiguration
- a consumer that will call methods onScheduleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notificationConfiguration
ScheduledQueryDescription.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration) Notification configuration.
- Parameters:
notificationConfiguration
- Notification configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
default ScheduledQueryDescription.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) Notification configuration.
This is a convenience method that creates an instance of theNotificationConfiguration.Builder
avoiding the need to create one manually viaNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfiguration(NotificationConfiguration)
.- Parameters:
notificationConfiguration
- a consumer that will call methods onNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetConfiguration
Scheduled query target store configuration.
- Parameters:
targetConfiguration
- Scheduled query target store configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default ScheduledQueryDescription.Builder targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) Scheduled query target store configuration.
This is a convenience method that creates an instance of theTargetConfiguration.Builder
avoiding the need to create one manually viaTargetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetConfiguration(TargetConfiguration)
.- Parameters:
targetConfiguration
- a consumer that will call methods onTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduledQueryExecutionRoleArn
ScheduledQueryDescription.Builder scheduledQueryExecutionRoleArn(String scheduledQueryExecutionRoleArn) IAM role that Timestream uses to run the schedule query.
- Parameters:
scheduledQueryExecutionRoleArn
- IAM role that Timestream uses to run the schedule query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
A customer provided KMS key used to encrypt the scheduled query resource.
- Parameters:
kmsKeyId
- A customer provided KMS key used to encrypt the scheduled query resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorReportConfiguration
ScheduledQueryDescription.Builder errorReportConfiguration(ErrorReportConfiguration errorReportConfiguration) Error-reporting configuration for the scheduled query.
- Parameters:
errorReportConfiguration
- Error-reporting configuration for the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorReportConfiguration
default ScheduledQueryDescription.Builder errorReportConfiguration(Consumer<ErrorReportConfiguration.Builder> errorReportConfiguration) Error-reporting configuration for the scheduled query.
This is a convenience method that creates an instance of theErrorReportConfiguration.Builder
avoiding the need to create one manually viaErrorReportConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorReportConfiguration(ErrorReportConfiguration)
.- Parameters:
errorReportConfiguration
- a consumer that will call methods onErrorReportConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunSummary
Runtime summary for the last scheduled query run.
- Parameters:
lastRunSummary
- Runtime summary for the last scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunSummary
default ScheduledQueryDescription.Builder lastRunSummary(Consumer<ScheduledQueryRunSummary.Builder> lastRunSummary) Runtime summary for the last scheduled query run.
This is a convenience method that creates an instance of theScheduledQueryRunSummary.Builder
avoiding the need to create one manually viaScheduledQueryRunSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastRunSummary(ScheduledQueryRunSummary)
.- Parameters:
lastRunSummary
- a consumer that will call methods onScheduledQueryRunSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recentlyFailedRuns
ScheduledQueryDescription.Builder recentlyFailedRuns(Collection<ScheduledQueryRunSummary> recentlyFailedRuns) Runtime summary for the last five failed scheduled query runs.
- Parameters:
recentlyFailedRuns
- Runtime summary for the last five failed scheduled query runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recentlyFailedRuns
ScheduledQueryDescription.Builder recentlyFailedRuns(ScheduledQueryRunSummary... recentlyFailedRuns) Runtime summary for the last five failed scheduled query runs.
- Parameters:
recentlyFailedRuns
- Runtime summary for the last five failed scheduled query runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recentlyFailedRuns
ScheduledQueryDescription.Builder recentlyFailedRuns(Consumer<ScheduledQueryRunSummary.Builder>... recentlyFailedRuns) Runtime summary for the last five failed scheduled query runs.
This is a convenience method that creates an instance of theScheduledQueryRunSummary.Builder
avoiding the need to create one manually viaScheduledQueryRunSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecentlyFailedRuns(List<ScheduledQueryRunSummary>)
.- Parameters:
recentlyFailedRuns
- a consumer that will call methods onScheduledQueryRunSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-