Interface GetScheduledQueryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<GetScheduledQueryResponse.Builder,GetScheduledQueryResponse>,SdkBuilder<GetScheduledQueryResponse.Builder,GetScheduledQueryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetScheduledQueryResponse
@Mutable @NotThreadSafe public static interface GetScheduledQueryResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetScheduledQueryResponse.Builder,GetScheduledQueryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetScheduledQueryResponse.BuildercreationTime(Long creationTime)The timestamp when the scheduled query was created.GetScheduledQueryResponse.Builderdescription(String description)The description of the scheduled query.default GetScheduledQueryResponse.BuilderdestinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration)Configuration for where query results are delivered.GetScheduledQueryResponse.BuilderdestinationConfiguration(DestinationConfiguration destinationConfiguration)Configuration for where query results are delivered.GetScheduledQueryResponse.BuilderexecutionRoleArn(String executionRoleArn)The ARN of the IAM role used to execute the query and deliver results.GetScheduledQueryResponse.BuilderlastExecutionStatus(String lastExecutionStatus)The status of the most recent execution of the scheduled query.GetScheduledQueryResponse.BuilderlastExecutionStatus(ExecutionStatus lastExecutionStatus)The status of the most recent execution of the scheduled query.GetScheduledQueryResponse.BuilderlastTriggeredTime(Long lastTriggeredTime)The timestamp when the scheduled query was last executed.GetScheduledQueryResponse.BuilderlastUpdatedTime(Long lastUpdatedTime)The timestamp when the scheduled query was last updated.GetScheduledQueryResponse.BuilderlogGroupIdentifiers(String... logGroupIdentifiers)The log groups queried by the scheduled query.GetScheduledQueryResponse.BuilderlogGroupIdentifiers(Collection<String> logGroupIdentifiers)The log groups queried by the scheduled query.GetScheduledQueryResponse.Buildername(String name)The name of the scheduled query.GetScheduledQueryResponse.BuilderqueryLanguage(String queryLanguage)The query language used by the scheduled query.GetScheduledQueryResponse.BuilderqueryLanguage(QueryLanguage queryLanguage)The query language used by the scheduled query.GetScheduledQueryResponse.BuilderqueryString(String queryString)The query string executed by the scheduled query.GetScheduledQueryResponse.BuilderscheduledQueryArn(String scheduledQueryArn)The ARN of the scheduled query.GetScheduledQueryResponse.BuilderscheduleEndTime(Long scheduleEndTime)The end time for the scheduled query in Unix epoch format.GetScheduledQueryResponse.BuilderscheduleExpression(String scheduleExpression)The cron expression that defines when the scheduled query runs.GetScheduledQueryResponse.BuilderscheduleStartTime(Long scheduleStartTime)The start time for the scheduled query in Unix epoch format.GetScheduledQueryResponse.BuilderstartTimeOffset(Long startTimeOffset)The time offset in seconds that defines the lookback period for the query.GetScheduledQueryResponse.Builderstate(String state)The current state of the scheduled query.GetScheduledQueryResponse.Builderstate(ScheduledQueryState state)The current state of the scheduled query.GetScheduledQueryResponse.Buildertimezone(String timezone)The timezone used for evaluating the schedule expression.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
scheduledQueryArn
GetScheduledQueryResponse.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
GetScheduledQueryResponse.Builder name(String 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
GetScheduledQueryResponse.Builder description(String 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
GetScheduledQueryResponse.Builder queryLanguage(String queryLanguage)
The query language used by the scheduled query.
- Parameters:
queryLanguage- The query language used by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryLanguage,QueryLanguage
-
queryLanguage
GetScheduledQueryResponse.Builder queryLanguage(QueryLanguage queryLanguage)
The query language used by the scheduled query.
- Parameters:
queryLanguage- The query language used by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryLanguage,QueryLanguage
-
queryString
GetScheduledQueryResponse.Builder queryString(String queryString)
The query string executed by the scheduled query.
- Parameters:
queryString- The query string executed by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupIdentifiers
GetScheduledQueryResponse.Builder logGroupIdentifiers(Collection<String> logGroupIdentifiers)
The log groups queried by the scheduled query.
- Parameters:
logGroupIdentifiers- The log groups queried by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupIdentifiers
GetScheduledQueryResponse.Builder logGroupIdentifiers(String... logGroupIdentifiers)
The log groups queried by the scheduled query.
- Parameters:
logGroupIdentifiers- The log groups queried by the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleExpression
GetScheduledQueryResponse.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
GetScheduledQueryResponse.Builder timezone(String 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.
-
startTimeOffset
GetScheduledQueryResponse.Builder startTimeOffset(Long startTimeOffset)
The time offset in seconds that defines the lookback period for the query.
- Parameters:
startTimeOffset- The 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
GetScheduledQueryResponse.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 GetScheduledQueryResponse.Builder destinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration)
Configuration for where 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:
destinationConfiguration(DestinationConfiguration)
-
state
GetScheduledQueryResponse.Builder state(String 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:
ScheduledQueryState,ScheduledQueryState
-
state
GetScheduledQueryResponse.Builder state(ScheduledQueryState 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:
ScheduledQueryState,ScheduledQueryState
-
lastTriggeredTime
GetScheduledQueryResponse.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
GetScheduledQueryResponse.Builder lastExecutionStatus(String lastExecutionStatus)
The status of the most recent execution of the scheduled query.
- Parameters:
lastExecutionStatus- The status of the most recent execution of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus,ExecutionStatus
-
lastExecutionStatus
GetScheduledQueryResponse.Builder lastExecutionStatus(ExecutionStatus lastExecutionStatus)
The status of the most recent execution of the scheduled query.
- Parameters:
lastExecutionStatus- The status of the most recent execution of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus,ExecutionStatus
-
scheduleStartTime
GetScheduledQueryResponse.Builder scheduleStartTime(Long scheduleStartTime)
The start time for the scheduled query in Unix epoch format.
- Parameters:
scheduleStartTime- The 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
GetScheduledQueryResponse.Builder scheduleEndTime(Long scheduleEndTime)
The end time for the scheduled query in Unix epoch format.
- Parameters:
scheduleEndTime- The 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
GetScheduledQueryResponse.Builder executionRoleArn(String executionRoleArn)
The ARN of the IAM role used to execute the query and deliver results.
- Parameters:
executionRoleArn- The ARN of the IAM role used to execute the query and deliver results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
GetScheduledQueryResponse.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
GetScheduledQueryResponse.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.
-
-