Interface ScheduleConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduleConfig.Builder,,ScheduleConfig> SdkBuilder<ScheduleConfig.Builder,,ScheduleConfig> SdkPojo
- Enclosing class:
ScheduleConfig
-
Method Summary
Modifier and TypeMethodDescriptionscheduleExpression(String scheduleExpression) The schedule expression that specifies when to trigger the scheduled report run.scheduleExpressionTimeZone(String scheduleExpressionTimeZone) The time zone for the schedule expression, for example,UTC.default ScheduleConfig.BuilderschedulePeriod(Consumer<SchedulePeriod.Builder> schedulePeriod) The time period during which the schedule is active.schedulePeriod(SchedulePeriod schedulePeriod) The time period during which the schedule is active.The state of the schedule.state(ScheduleState state) The state of the schedule.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 specifies when to trigger the scheduled report run. This value must be a cron expression consisting of six fields separated by white spaces:
cron(minutes hours day_of_month month day_of_week year).- Parameters:
scheduleExpression- The schedule expression that specifies when to trigger the scheduled report run. This value must be a cron expression consisting of six fields separated by white spaces:cron(minutes hours day_of_month month day_of_week year).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleExpressionTimeZone
The time zone for the schedule expression, for example,
UTC.- Parameters:
scheduleExpressionTimeZone- The time zone for the schedule expression, for example,UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulePeriod
The time period during which the schedule is active.
- Parameters:
schedulePeriod- The time period during which the schedule is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedulePeriod
The time period during which the schedule is active.
This is a convenience method that creates an instance of theSchedulePeriod.Builderavoiding the need to create one manually viaSchedulePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedulePeriod(SchedulePeriod).- Parameters:
schedulePeriod- a consumer that will call methods onSchedulePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the schedule.
ENABLEDmeans the scheduled report runs according to its schedule expression.DISABLEDmeans the scheduled report is paused and will not run until re-enabled.- Parameters:
state- The state of the schedule.ENABLEDmeans the scheduled report runs according to its schedule expression.DISABLEDmeans the scheduled report is paused and will not run until re-enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the schedule.
ENABLEDmeans the scheduled report runs according to its schedule expression.DISABLEDmeans the scheduled report is paused and will not run until re-enabled.- Parameters:
state- The state of the schedule.ENABLEDmeans the scheduled report runs according to its schedule expression.DISABLEDmeans the scheduled report is paused and will not run until re-enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-