Interface RefreshSchedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>,SdkBuilder<RefreshSchedule.Builder,RefreshSchedule>,SdkPojo
- Enclosing class:
- RefreshSchedule
public static interface RefreshSchedule.Builder extends SdkPojo, CopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RefreshSchedule.Builderfrequency(Consumer<RefreshScheduleFrequency.Builder> frequency)The frequency at which you want the dashboard refreshed.RefreshSchedule.Builderfrequency(RefreshScheduleFrequency frequency)The frequency at which you want the dashboard refreshed.RefreshSchedule.Builderstatus(String status)Specifies whether the refresh schedule is enabled.RefreshSchedule.Builderstatus(RefreshScheduleStatus status)Specifies whether the refresh schedule is enabled.RefreshSchedule.BuildertimeOfDay(String timeOfDay)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 Detail
-
frequency
RefreshSchedule.Builder frequency(RefreshScheduleFrequency 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
default RefreshSchedule.Builder frequency(Consumer<RefreshScheduleFrequency.Builder> frequency)
The frequency at which you want the dashboard refreshed.
This is a convenience method that creates an instance of theRefreshScheduleFrequency.Builderavoiding the need to create one manually viaRefreshScheduleFrequency.builder().When the
Consumercompletes,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:
frequency(RefreshScheduleFrequency)
-
status
RefreshSchedule.Builder status(String status)
Specifies whether the refresh schedule is enabled. Set the value to
ENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.- Parameters:
status- Specifies whether the refresh schedule is enabled. Set the value toENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RefreshScheduleStatus,RefreshScheduleStatus
-
status
RefreshSchedule.Builder status(RefreshScheduleStatus status)
Specifies whether the refresh schedule is enabled. Set the value to
ENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.- Parameters:
status- Specifies whether the refresh schedule is enabled. Set the value toENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RefreshScheduleStatus,RefreshScheduleStatus
-
timeOfDay
RefreshSchedule.Builder timeOfDay(String 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.
-
-