Interface GetScheduledQueryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<GetScheduledQueryResponse.Builder,,GetScheduledQueryResponse> SdkBuilder<GetScheduledQueryResponse.Builder,,GetScheduledQueryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetScheduledQueryResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Long creationTime) The time when the scheduled query was created, in Unix epoch time.description(String description) The description of the scheduled query.destinationConfiguration(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.executionRoleArn(String executionRoleArn) The ARN of the IAM role used to execute the scheduled query.lastExecutionStatus(String lastExecutionStatus) The status of the last executed query (Running, Complete, Failed, Timeout, or InvalidQuery).lastExecutionStatus(ExecutionStatus lastExecutionStatus) The status of the last executed query (Running, Complete, Failed, Timeout, or InvalidQuery).lastTriggeredTime(Long lastTriggeredTime) The time when the scheduled query was last executed, in Unix epoch time.lastUpdatedTime(Long lastUpdatedTime) The time when the scheduled query was last updated, in Unix epoch time.logGroupIdentifiers(String... logGroupIdentifiers) The log group identifiers being queried by the scheduled query.logGroupIdentifiers(Collection<String> logGroupIdentifiers) The log group identifiers being queried by the scheduled query.The name of the scheduled query.queryLanguage(String queryLanguage) The query language used by the scheduled query (LogsQL, PPL, or SQL).queryLanguage(QueryLanguage queryLanguage) The query language used by the scheduled query (LogsQL, PPL, or SQL).queryString(String queryString) The CloudWatch Logs Insights query string being executed.scheduledQueryArn(String scheduledQueryArn) The Amazon Resource Name (ARN) of the scheduled query.scheduleEndTime(Long scheduleEndTime) The end time for the query schedule in Unix epoch time.scheduleExpression(String scheduleExpression) The cron expression that defines when the scheduled query runs.scheduleStartTime(Long scheduleStartTime) The start time for the query schedule in Unix epoch time.startTimeOffset(Long startTimeOffset) Time offset in seconds from the execution time for the start of the query time range.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.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scheduledQueryArn
The Amazon Resource Name (ARN) of the scheduled query.
- Parameters:
scheduledQueryArn- The Amazon Resource Name (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.
-
description
The description of the scheduled query.
- Parameters:
description- The description of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryLanguage
The query language used by the scheduled query (LogsQL, PPL, or SQL).
- Parameters:
queryLanguage- The query language used by the scheduled query (LogsQL, PPL, or SQL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryLanguage
The query language used by the scheduled query (LogsQL, PPL, or SQL).
- Parameters:
queryLanguage- The query language used by the scheduled query (LogsQL, PPL, or SQL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryString
The CloudWatch Logs Insights query string being executed.
- Parameters:
queryString- The CloudWatch Logs Insights query string being executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupIdentifiers
The log group identifiers being queried by the scheduled query.
- Parameters:
logGroupIdentifiers- The log group identifiers being queried by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupIdentifiers
The log group identifiers being queried by the scheduled query.
- Parameters:
logGroupIdentifiers- The log group identifiers being queried by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
startTimeOffset
Time offset in seconds from the execution time for the start of the query time range.
- Parameters:
startTimeOffset- Time offset in seconds from the execution time for the start of the query time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfiguration
GetScheduledQueryResponse.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 GetScheduledQueryResponse.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:
-
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, in Unix epoch time.
- Parameters:
lastTriggeredTime- The time when the scheduled query was last executed, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastExecutionStatus
The status of the last executed query (Running, Complete, Failed, Timeout, or InvalidQuery).
- Parameters:
lastExecutionStatus- The status of the last executed query (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 executed query (Running, Complete, Failed, Timeout, or InvalidQuery).
- Parameters:
lastExecutionStatus- The status of the last executed query (Running, Complete, Failed, Timeout, or InvalidQuery).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleStartTime
The start time for the query schedule in Unix epoch time.
- Parameters:
scheduleStartTime- The start time for the query schedule in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleEndTime
The end time for the query schedule in Unix epoch time.
- Parameters:
scheduleEndTime- The end time for the query schedule in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The ARN of the IAM role used to execute the scheduled query.
- Parameters:
executionRoleArn- The ARN of the IAM role used to execute the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when the scheduled query was created, in Unix epoch time.
- Parameters:
creationTime- The time when the scheduled query was created, in Unix epoch time.- 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, in Unix epoch time.
- Parameters:
lastUpdatedTime- The time when the scheduled query was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-