Interface ScheduledQueryDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduledQueryDescription.Builder,ScheduledQueryDescription>,SdkBuilder<ScheduledQueryDescription.Builder,ScheduledQueryDescription>,SdkPojo
- Enclosing class:
- ScheduledQueryDescription
public static interface ScheduledQueryDescription.Builder extends SdkPojo, CopyableBuilder<ScheduledQueryDescription.Builder,ScheduledQueryDescription>
-
-
Method Summary
-
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 Detail
-
arn
ScheduledQueryDescription.Builder arn(String 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
ScheduledQueryDescription.Builder name(String 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
ScheduledQueryDescription.Builder queryString(String 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
ScheduledQueryDescription.Builder creationTime(Instant 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
ScheduledQueryDescription.Builder state(String 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:
ScheduledQueryState,ScheduledQueryState
-
state
ScheduledQueryDescription.Builder state(ScheduledQueryState 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:
ScheduledQueryState,ScheduledQueryState
-
previousInvocationTime
ScheduledQueryDescription.Builder previousInvocationTime(Instant 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
ScheduledQueryDescription.Builder nextInvocationTime(Instant 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.Builderavoiding the need to create one manually viaScheduleConfiguration.builder().When the
Consumercompletes,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:
scheduleConfiguration(ScheduleConfiguration)
-
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.Builderavoiding the need to create one manually viaNotificationConfiguration.builder().When the
Consumercompletes,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:
notificationConfiguration(NotificationConfiguration)
-
targetConfiguration
ScheduledQueryDescription.Builder targetConfiguration(TargetConfiguration 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.Builderavoiding the need to create one manually viaTargetConfiguration.builder().When the
Consumercompletes,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:
targetConfiguration(TargetConfiguration)
-
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
ScheduledQueryDescription.Builder kmsKeyId(String 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.Builderavoiding the need to create one manually viaErrorReportConfiguration.builder().When the
Consumercompletes,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:
errorReportConfiguration(ErrorReportConfiguration)
-
lastRunSummary
ScheduledQueryDescription.Builder lastRunSummary(ScheduledQueryRunSummary 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.Builderavoiding the need to create one manually viaScheduledQueryRunSummary.builder().When the
Consumercompletes,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:
lastRunSummary(ScheduledQueryRunSummary)
-
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.Builderavoiding the need to create one manually viaScheduledQueryRunSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recentlyFailedRuns(List.) - 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:
#recentlyFailedRuns(java.util.Collection)
-
-