Interface UpdateScheduledQueryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<UpdateScheduledQueryRequest.Builder,UpdateScheduledQueryRequest>,SdkBuilder<UpdateScheduledQueryRequest.Builder,UpdateScheduledQueryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateScheduledQueryRequest
@Mutable @NotThreadSafe public static interface UpdateScheduledQueryRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<UpdateScheduledQueryRequest.Builder,UpdateScheduledQueryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateScheduledQueryRequest.Builderdescription(String description)An updated description for the scheduled query.default UpdateScheduledQueryRequest.BuilderdestinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration)The updated configuration for where to deliver query results.UpdateScheduledQueryRequest.BuilderdestinationConfiguration(DestinationConfiguration destinationConfiguration)The updated configuration for where to deliver query results.UpdateScheduledQueryRequest.BuilderexecutionRoleArn(String executionRoleArn)The updated ARN of the IAM role that grants permissions to execute the query and deliver results.UpdateScheduledQueryRequest.Builderidentifier(String identifier)The ARN or name of the scheduled query to update.UpdateScheduledQueryRequest.BuilderlogGroupIdentifiers(String... logGroupIdentifiers)The updated array of log group names or ARNs to query.UpdateScheduledQueryRequest.BuilderlogGroupIdentifiers(Collection<String> logGroupIdentifiers)The updated array of log group names or ARNs to query.UpdateScheduledQueryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateScheduledQueryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateScheduledQueryRequest.BuilderqueryLanguage(String queryLanguage)The updated query language for the scheduled query.UpdateScheduledQueryRequest.BuilderqueryLanguage(QueryLanguage queryLanguage)The updated query language for the scheduled query.UpdateScheduledQueryRequest.BuilderqueryString(String queryString)The updated query string to execute.UpdateScheduledQueryRequest.BuilderscheduleEndTime(Long scheduleEndTime)The updated end time for the scheduled query in Unix epoch format.UpdateScheduledQueryRequest.BuilderscheduleExpression(String scheduleExpression)The updated cron expression that defines when the scheduled query runs.UpdateScheduledQueryRequest.BuilderscheduleStartTime(Long scheduleStartTime)The updated start time for the scheduled query in Unix epoch format.UpdateScheduledQueryRequest.BuilderstartTimeOffset(Long startTimeOffset)The updated time offset in seconds that defines the lookback period for the query.UpdateScheduledQueryRequest.Builderstate(String state)The updated state of the scheduled query.UpdateScheduledQueryRequest.Builderstate(ScheduledQueryState state)The updated state of the scheduled query.UpdateScheduledQueryRequest.Buildertimezone(String timezone)The updated timezone for evaluating the schedule expression.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
identifier
UpdateScheduledQueryRequest.Builder identifier(String 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,QueryLanguage
-
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:
QueryLanguage,QueryLanguage
-
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
UpdateScheduledQueryRequest.Builder timezone(String 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.
-
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:
destinationConfiguration(DestinationConfiguration)
-
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
UpdateScheduledQueryRequest.Builder state(String 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:
ScheduledQueryState,ScheduledQueryState
-
state
UpdateScheduledQueryRequest.Builder state(ScheduledQueryState 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:
ScheduledQueryState,ScheduledQueryState
-
overrideConfiguration
UpdateScheduledQueryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateScheduledQueryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-