Interface ScheduledQuerySummary.Builder

  • Method Details

    • scheduledQueryArn

      ScheduledQuerySummary.Builder scheduledQueryArn(String 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.

      Parameters:
      state - The current state of the scheduled query.
      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.

      Parameters:
      state - The current state of the scheduled query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastTriggeredTime

      ScheduledQuerySummary.Builder lastTriggeredTime(Long lastTriggeredTime)

      The timestamp when the scheduled query was last executed.

      Parameters:
      lastTriggeredTime - The timestamp when the scheduled query was last executed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastExecutionStatus

      ScheduledQuerySummary.Builder lastExecutionStatus(String lastExecutionStatus)

      The status of the most recent execution.

      Parameters:
      lastExecutionStatus - The status of the most recent execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastExecutionStatus

      ScheduledQuerySummary.Builder lastExecutionStatus(ExecutionStatus lastExecutionStatus)

      The status of the most recent execution.

      Parameters:
      lastExecutionStatus - The status of the most recent execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduleExpression

      ScheduledQuerySummary.Builder scheduleExpression(String 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 used for evaluating the schedule expression.

      Parameters:
      timezone - The timezone used for evaluating the schedule expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConfiguration

      ScheduledQuerySummary.Builder destinationConfiguration(DestinationConfiguration destinationConfiguration)

      Configuration for where query results are delivered.

      Parameters:
      destinationConfiguration - Configuration for where 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 where query results are delivered.

      This is a convenience method that creates an instance of the DestinationConfiguration.Builder avoiding the need to create one manually via DestinationConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destinationConfiguration(DestinationConfiguration).

      Parameters:
      destinationConfiguration - a consumer that will call methods on DestinationConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      ScheduledQuerySummary.Builder creationTime(Long creationTime)

      The timestamp when the scheduled query was created.

      Parameters:
      creationTime - The timestamp when the scheduled query was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      ScheduledQuerySummary.Builder lastUpdatedTime(Long lastUpdatedTime)

      The timestamp when the scheduled query was last updated.

      Parameters:
      lastUpdatedTime - The timestamp when the scheduled query was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.