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
Modifier and TypeMethodDescriptiondefault RefreshSchedule.Builderfrequency(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
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
-
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.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:
-
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:
-
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:
-
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.
-