Interface AutoTuneMaintenanceSchedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>,SdkBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>,SdkPojo
- Enclosing class:
- AutoTuneMaintenanceSchedule
@Mutable @NotThreadSafe public static interface AutoTuneMaintenanceSchedule.Builder extends SdkPojo, CopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutoTuneMaintenanceSchedule.BuildercronExpressionForRecurrence(String cronExpressionForRecurrence)A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.default AutoTuneMaintenanceSchedule.Builderduration(Consumer<Duration.Builder> duration)The duration of the maintenance schedule.AutoTuneMaintenanceSchedule.Builderduration(Duration duration)The duration of the maintenance schedule.AutoTuneMaintenanceSchedule.BuilderstartAt(Instant startAt)The Epoch timestamp at which the Auto-Tune maintenance schedule starts.-
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
-
startAt
AutoTuneMaintenanceSchedule.Builder startAt(Instant startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
- Parameters:
startAt- The Epoch timestamp at which the Auto-Tune maintenance schedule starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
AutoTuneMaintenanceSchedule.Builder duration(Duration duration)
The duration of the maintenance schedule. For example,
"Duration": {"Value": 2, "Unit": "HOURS"}.- Parameters:
duration- The duration of the maintenance schedule. For example,"Duration": {"Value": 2, "Unit": "HOURS"}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
default AutoTuneMaintenanceSchedule.Builder duration(Consumer<Duration.Builder> duration)
The duration of the maintenance schedule. For example,
This is a convenience method that creates an instance of the"Duration": {"Value": 2, "Unit": "HOURS"}.Duration.Builderavoiding the need to create one manually viaDuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toduration(Duration).- Parameters:
duration- a consumer that will call methods onDuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
duration(Duration)
-
cronExpressionForRecurrence
AutoTuneMaintenanceSchedule.Builder cronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
- Parameters:
cronExpressionForRecurrence- A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-