Interface ScheduledQuerySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduledQuerySummary.Builder,,ScheduledQuerySummary> SdkBuilder<ScheduledQuerySummary.Builder,,ScheduledQuerySummary> SdkPojo
- Enclosing class:
ScheduledQuerySummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Long creationTime) The time when the scheduled query was created.default ScheduledQuerySummary.BuilderdestinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration) Configuration for destinations where the query results are delivered.destinationConfiguration(DestinationConfiguration destinationConfiguration) Configuration for destinations where the query results are delivered.lastExecutionStatus(String lastExecutionStatus) The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).lastExecutionStatus(ExecutionStatus lastExecutionStatus) The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).lastTriggeredTime(Long lastTriggeredTime) The time when the scheduled query was last executed.lastUpdatedTime(Long lastUpdatedTime) The time when the scheduled query was last updated.The name of the scheduled query.scheduledQueryArn(String scheduledQueryArn) The ARN of the scheduled query.scheduleExpression(String scheduleExpression) The cron expression that defines when the scheduled query runs.The current state of the scheduled query (ENABLED or DISABLED).state(ScheduledQueryState state) The current state of the scheduled query (ENABLED or DISABLED).The timezone in which the schedule expression is evaluated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scheduledQueryArn
The ARN of the scheduled query.
- Parameters:
scheduledQueryArn- The ARN of the scheduled query.- 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.
-
state
The current state of the scheduled query (ENABLED or DISABLED).
- Parameters:
state- The current state of the scheduled query (ENABLED or DISABLED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the scheduled query (ENABLED or DISABLED).
- Parameters:
state- The current state of the scheduled query (ENABLED or DISABLED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastTriggeredTime
The time when the scheduled query was last executed.
- Parameters:
lastTriggeredTime- The time when the scheduled query was last executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastExecutionStatus
The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).
- Parameters:
lastExecutionStatus- The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastExecutionStatus
The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).
- Parameters:
lastExecutionStatus- The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleExpression
The cron expression that defines when the scheduled query runs.
- Parameters:
scheduleExpression- The cron expression that defines when the scheduled query runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timezone
The timezone in which the schedule expression is evaluated.
- Parameters:
timezone- The timezone in which the schedule expression is evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfiguration
ScheduledQuerySummary.Builder destinationConfiguration(DestinationConfiguration destinationConfiguration) Configuration for destinations where the query results are delivered.
- Parameters:
destinationConfiguration- Configuration for destinations where the query results are delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfiguration
default ScheduledQuerySummary.Builder destinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration) Configuration for destinations where the query results are delivered.
This is a convenience method that creates an instance of theDestinationConfiguration.Builderavoiding the need to create one manually viaDestinationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationConfiguration(DestinationConfiguration).- Parameters:
destinationConfiguration- a consumer that will call methods onDestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time when the scheduled query was created.
- Parameters:
creationTime- The time when the scheduled query was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The time when the scheduled query was last updated.
- Parameters:
lastUpdatedTime- The time when the scheduled query was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-