Interface UpdateScheduledQueryRequest.Builder

  • Method Details

    • identifier

      The ARN or name of the scheduled query to update.

      Parameters:
      identifier - The ARN or name of the scheduled query to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateScheduledQueryRequest.Builder description(String description)

      An updated description for the scheduled query.

      Parameters:
      description - An updated description for the scheduled query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryLanguage

      UpdateScheduledQueryRequest.Builder queryLanguage(String queryLanguage)

      The updated query language for the scheduled query.

      Parameters:
      queryLanguage - The updated query language for the scheduled query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryLanguage

      UpdateScheduledQueryRequest.Builder queryLanguage(QueryLanguage queryLanguage)

      The updated query language for the scheduled query.

      Parameters:
      queryLanguage - The updated query language for the scheduled query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryString

      UpdateScheduledQueryRequest.Builder queryString(String queryString)

      The updated query string to execute.

      Parameters:
      queryString - The updated query string to execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupIdentifiers

      UpdateScheduledQueryRequest.Builder logGroupIdentifiers(Collection<String> logGroupIdentifiers)

      The updated array of log group names or ARNs to query.

      Parameters:
      logGroupIdentifiers - The updated array of log group names or ARNs to query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupIdentifiers

      UpdateScheduledQueryRequest.Builder logGroupIdentifiers(String... logGroupIdentifiers)

      The updated array of log group names or ARNs to query.

      Parameters:
      logGroupIdentifiers - The updated array of log group names or ARNs to query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleExpression

      UpdateScheduledQueryRequest.Builder scheduleExpression(String scheduleExpression)

      The updated cron expression that defines when the scheduled query runs.

      Parameters:
      scheduleExpression - The updated 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 updated timezone for evaluating the schedule expression.

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

      UpdateScheduledQueryRequest.Builder startTimeOffset(Long startTimeOffset)

      The updated time offset in seconds that defines the lookback period for the query.

      Parameters:
      startTimeOffset - The updated time offset in seconds that defines the lookback period for the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimeOffset

      UpdateScheduledQueryRequest.Builder endTimeOffset(Long endTimeOffset)

      The updated time offset in seconds that defines the end of the lookback period for the query.

      Parameters:
      endTimeOffset - The updated time offset in seconds that defines the end of the lookback period for the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConfiguration

      UpdateScheduledQueryRequest.Builder destinationConfiguration(DestinationConfiguration destinationConfiguration)

      The updated configuration for where to deliver query results.

      Parameters:
      destinationConfiguration - The updated configuration for where to deliver query results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConfiguration

      default UpdateScheduledQueryRequest.Builder destinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration)

      The updated configuration for where to deliver query results.

      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:
    • scheduleStartTime

      UpdateScheduledQueryRequest.Builder scheduleStartTime(Long scheduleStartTime)

      The updated start time for the scheduled query in Unix epoch format.

      Parameters:
      scheduleStartTime - The updated start time for the scheduled query in Unix epoch format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleEndTime

      UpdateScheduledQueryRequest.Builder scheduleEndTime(Long scheduleEndTime)

      The updated end time for the scheduled query in Unix epoch format.

      Parameters:
      scheduleEndTime - The updated end time for the scheduled query in Unix epoch format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRoleArn

      UpdateScheduledQueryRequest.Builder executionRoleArn(String executionRoleArn)

      The updated ARN of the IAM role that grants permissions to execute the query and deliver results.

      Parameters:
      executionRoleArn - The updated ARN of the IAM role that grants permissions to execute the query and deliver results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The updated state of the scheduled query.

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

      The updated state of the scheduled query.

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

      UpdateScheduledQueryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.