Interface ScheduleConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduleConfiguration.Builder,,ScheduleConfiguration> SdkBuilder<ScheduleConfiguration.Builder,,ScheduleConfiguration> SdkPojo
- Enclosing class:
ScheduleConfiguration
@Mutable
@NotThreadSafe
public static interface ScheduleConfiguration.Builder
extends SdkPojo, CopyableBuilder<ScheduleConfiguration.Builder,ScheduleConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionendTimeOffset(Long endTimeOffset) The offset, in seconds, before the scheduled execution time at which the query time range ends.scheduleExpression(String scheduleExpression) The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs.startTimeOffset(Long startTimeOffset) The offset, in seconds, before the scheduled execution time at which the query time range begins.Methods 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
-
scheduleExpression
The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify a
rate()expression, for examplerate(5 minutes).- Parameters:
scheduleExpression- The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify arate()expression, for examplerate(5 minutes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeOffset
The offset, in seconds, before the scheduled execution time at which the query time range begins. For example, an offset of 360 (6 minutes) on a query running at 12:05:00 starts the query time range at 11:59:00.
- Parameters:
startTimeOffset- The offset, in seconds, before the scheduled execution time at which the query time range begins. For example, an offset of 360 (6 minutes) on a query running at 12:05:00 starts the query time range at 11:59:00.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimeOffset
The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less than
StartTimeOffset. The default is 0.- Parameters:
endTimeOffset- The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less thanStartTimeOffset. The default is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-