public static interface ScheduledQueryDescription.Builder extends SdkPojo, CopyableBuilder<ScheduledQueryDescription.Builder,ScheduledQueryDescription>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildScheduledQueryDescription.Builder arn(String arn)
Scheduled query ARN.
arn - Scheduled query ARN.ScheduledQueryDescription.Builder name(String name)
Name of the scheduled query.
name - Name of the scheduled query.ScheduledQueryDescription.Builder queryString(String queryString)
The query to be run.
queryString - The query to be run.ScheduledQueryDescription.Builder creationTime(Instant creationTime)
Creation time of the scheduled query.
creationTime - Creation time of the scheduled query.ScheduledQueryDescription.Builder state(String state)
State of the scheduled query.
state - State of the scheduled query.ScheduledQueryState,
ScheduledQueryStateScheduledQueryDescription.Builder state(ScheduledQueryState state)
State of the scheduled query.
state - State of the scheduled query.ScheduledQueryState,
ScheduledQueryStateScheduledQueryDescription.Builder previousInvocationTime(Instant previousInvocationTime)
Last time the query was run.
previousInvocationTime - Last time the query was run.ScheduledQueryDescription.Builder nextInvocationTime(Instant nextInvocationTime)
The next time the scheduled query is scheduled to run.
nextInvocationTime - The next time the scheduled query is scheduled to run.ScheduledQueryDescription.Builder scheduleConfiguration(ScheduleConfiguration scheduleConfiguration)
Schedule configuration.
scheduleConfiguration - Schedule configuration.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 via ScheduleConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to scheduleConfiguration(ScheduleConfiguration).
scheduleConfiguration - a consumer that will call methods on ScheduleConfiguration.BuilderscheduleConfiguration(ScheduleConfiguration)ScheduledQueryDescription.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration)
Notification configuration.
notificationConfiguration - Notification configuration.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 via NotificationConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to notificationConfiguration(NotificationConfiguration).
notificationConfiguration - a consumer that will call methods on NotificationConfiguration.BuildernotificationConfiguration(NotificationConfiguration)ScheduledQueryDescription.Builder targetConfiguration(TargetConfiguration targetConfiguration)
Scheduled query target store configuration.
targetConfiguration - Scheduled query target store configuration.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 via TargetConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to targetConfiguration(TargetConfiguration).
targetConfiguration - a consumer that will call methods on TargetConfiguration.BuildertargetConfiguration(TargetConfiguration)ScheduledQueryDescription.Builder scheduledQueryExecutionRoleArn(String scheduledQueryExecutionRoleArn)
IAM role that Timestream uses to run the schedule query.
scheduledQueryExecutionRoleArn - IAM role that Timestream uses to run the schedule query.ScheduledQueryDescription.Builder kmsKeyId(String kmsKeyId)
A customer provided KMS key used to encrypt the scheduled query resource.
kmsKeyId - A customer provided KMS key used to encrypt the scheduled query resource.ScheduledQueryDescription.Builder errorReportConfiguration(ErrorReportConfiguration errorReportConfiguration)
Error-reporting configuration for the scheduled query.
errorReportConfiguration - Error-reporting configuration for the scheduled query.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 via ErrorReportConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to errorReportConfiguration(ErrorReportConfiguration).
errorReportConfiguration - a consumer that will call methods on ErrorReportConfiguration.BuildererrorReportConfiguration(ErrorReportConfiguration)ScheduledQueryDescription.Builder lastRunSummary(ScheduledQueryRunSummary lastRunSummary)
Runtime summary for the last scheduled query run.
lastRunSummary - Runtime summary for the last scheduled query run.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 via ScheduledQueryRunSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to lastRunSummary(ScheduledQueryRunSummary).
lastRunSummary - a consumer that will call methods on ScheduledQueryRunSummary.BuilderlastRunSummary(ScheduledQueryRunSummary)ScheduledQueryDescription.Builder recentlyFailedRuns(Collection<ScheduledQueryRunSummary> recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
recentlyFailedRuns - Runtime summary for the last five failed scheduled query runs.ScheduledQueryDescription.Builder recentlyFailedRuns(ScheduledQueryRunSummary... recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
recentlyFailedRuns - Runtime summary for the last five failed scheduled query runs.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 via
ScheduledQueryRunSummary.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #recentlyFailedRuns(List.
recentlyFailedRuns - a consumer that will call methods on
ScheduledQueryRunSummary.Builder#recentlyFailedRuns(java.util.Collection) Copyright © 2023. All rights reserved.