Interface UpdateScheduledQueryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<UpdateScheduledQueryRequest.Builder,,UpdateScheduledQueryRequest> SdkBuilder<UpdateScheduledQueryRequest.Builder,,UpdateScheduledQueryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateScheduledQueryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) An updated description for the scheduled query.destinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration) The updated configuration for where to deliver query results.destinationConfiguration(DestinationConfiguration destinationConfiguration) The updated configuration for where to deliver query results.executionRoleArn(String executionRoleArn) The updated ARN of the IAM role that grants permissions to execute the query and deliver results.identifier(String identifier) The ARN or name of the scheduled query to update.logGroupIdentifiers(String... logGroupIdentifiers) The updated array of log group names or ARNs to query.logGroupIdentifiers(Collection<String> logGroupIdentifiers) The updated array of log group names or ARNs to query.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryLanguage(String queryLanguage) The updated query language for the scheduled query.queryLanguage(QueryLanguage queryLanguage) The updated query language for the scheduled query.queryString(String queryString) The updated query string to execute.scheduleEndTime(Long scheduleEndTime) The updated end time for the scheduled query in Unix epoch format.scheduleExpression(String scheduleExpression) The updated cron expression that defines when the scheduled query runs.scheduleStartTime(Long scheduleStartTime) The updated start time for the scheduled query in Unix epoch format.startTimeOffset(Long startTimeOffset) The updated time offset in seconds that defines the lookback period for the query.The updated state of the scheduled query.state(ScheduledQueryState state) The updated state of the scheduled query.The updated timezone for evaluating the schedule expression.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods 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
-
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
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
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
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
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
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
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
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
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.
-
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 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:
-
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateScheduledQueryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-