Interface ScheduledQuery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduledQuery.Builder,
,ScheduledQuery> SdkBuilder<ScheduledQuery.Builder,
,ScheduledQuery> SdkPojo
- Enclosing class:
ScheduledQuery
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name.creationTime
(Instant creationTime) The creation time of the scheduled query.default ScheduledQuery.Builder
errorReportConfiguration
(Consumer<ErrorReportConfiguration.Builder> errorReportConfiguration) Configuration for scheduled query error reporting.errorReportConfiguration
(ErrorReportConfiguration errorReportConfiguration) Configuration for scheduled query error reporting.lastRunStatus
(String lastRunStatus) Status of the last scheduled query run.lastRunStatus
(ScheduledQueryRunStatus lastRunStatus) Status of the last scheduled query run.The name of the scheduled query.nextInvocationTime
(Instant nextInvocationTime) The next time the scheduled query is to be run.previousInvocationTime
(Instant previousInvocationTime) The last time the scheduled query was run.State of scheduled query.state
(ScheduledQueryState state) State of scheduled query.default ScheduledQuery.Builder
targetDestination
(Consumer<TargetDestination.Builder> targetDestination) Target data source where final scheduled query result will be written.targetDestination
(TargetDestination targetDestination) Target data source where final scheduled query result will be written.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
The Amazon Resource Name.
- Parameters:
arn
- The Amazon Resource Name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the scheduled query.
- Parameters:
name
- The name of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the scheduled query.
- Parameters:
creationTime
- The creation time of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
State of scheduled query.
- Parameters:
state
- State of scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
State of scheduled query.
- Parameters:
state
- State of scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previousInvocationTime
The last time the scheduled query was run.
- Parameters:
previousInvocationTime
- The last time the scheduled 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 to be run.
- Parameters:
nextInvocationTime
- The next time the scheduled query is to be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorReportConfiguration
Configuration for scheduled query error reporting.
- Parameters:
errorReportConfiguration
- Configuration for scheduled query error reporting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorReportConfiguration
default ScheduledQuery.Builder errorReportConfiguration(Consumer<ErrorReportConfiguration.Builder> errorReportConfiguration) Configuration for scheduled query error reporting.
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:
-
targetDestination
Target data source where final scheduled query result will be written.
- Parameters:
targetDestination
- Target data source where final scheduled query result will be written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDestination
default ScheduledQuery.Builder targetDestination(Consumer<TargetDestination.Builder> targetDestination) Target data source where final scheduled query result will be written.
This is a convenience method that creates an instance of theTargetDestination.Builder
avoiding the need to create one manually viaTargetDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetDestination(TargetDestination)
.- Parameters:
targetDestination
- a consumer that will call methods onTargetDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
Status of the last scheduled query run.
- Parameters:
lastRunStatus
- Status of the last scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
Status of the last scheduled query run.
- Parameters:
lastRunStatus
- Status of the last scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-