Interface RefreshSchedule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RefreshSchedule.Builder,
,RefreshSchedule> SdkBuilder<RefreshSchedule.Builder,
,RefreshSchedule> SdkPojo
- Enclosing class:
RefreshSchedule
@Mutable
@NotThreadSafe
public static interface RefreshSchedule.Builder
extends SdkPojo, CopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RefreshSchedule.Builder
frequency
(Consumer<RefreshScheduleFrequency.Builder> frequency) The frequency at which you want the dashboard refreshed.frequency
(RefreshScheduleFrequency frequency) The frequency at which you want the dashboard refreshed.Specifies whether the refresh schedule is enabled.status
(RefreshScheduleStatus status) Specifies whether the refresh schedule is enabled.The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.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 Details
-
frequency
The frequency at which you want the dashboard refreshed.
- Parameters:
frequency
- The frequency at which you want the dashboard refreshed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frequency
The frequency at which you want the dashboard refreshed.
This is a convenience method that creates an instance of theRefreshScheduleFrequency.Builder
avoiding the need to create one manually viaRefreshScheduleFrequency.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofrequency(RefreshScheduleFrequency)
.- Parameters:
frequency
- a consumer that will call methods onRefreshScheduleFrequency.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Specifies whether the refresh schedule is enabled. Set the value to
ENABLED
to enable the refresh schedule, or toDISABLED
to turn off the refresh schedule.- Parameters:
status
- Specifies whether the refresh schedule is enabled. Set the value toENABLED
to enable the refresh schedule, or toDISABLED
to turn off the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Specifies whether the refresh schedule is enabled. Set the value to
ENABLED
to enable the refresh schedule, or toDISABLED
to turn off the refresh schedule.- Parameters:
status
- Specifies whether the refresh schedule is enabled. Set the value toENABLED
to enable the refresh schedule, or toDISABLED
to turn off the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeOfDay
The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.
- Parameters:
timeOfDay
- The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-