public static interface AutoTuneMaintenanceSchedule.Builder extends SdkPojo, CopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
| Modifier and Type | Method and Description |
|---|---|
AutoTuneMaintenanceSchedule.Builder |
cronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
|
default AutoTuneMaintenanceSchedule.Builder |
duration(Consumer<Duration.Builder> duration)
The duration of the maintenance schedule.
|
AutoTuneMaintenanceSchedule.Builder |
duration(Duration duration)
The duration of the maintenance schedule.
|
AutoTuneMaintenanceSchedule.Builder |
startAt(Instant startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoTuneMaintenanceSchedule.Builder startAt(Instant startAt)
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
startAt - The Epoch timestamp at which the Auto-Tune maintenance schedule starts.AutoTuneMaintenanceSchedule.Builder duration(Duration duration)
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}
.
duration - The duration of the maintenance schedule. For example,
"Duration": {"Value": 2, "Unit": "HOURS"}.default AutoTuneMaintenanceSchedule.Builder duration(Consumer<Duration.Builder> duration)
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}
.
Duration.Builder avoiding the need to
create one manually via Duration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to duration(Duration).
duration - a consumer that will call methods on Duration.Builderduration(Duration)AutoTuneMaintenanceSchedule.Builder cronExpressionForRecurrence(String cronExpressionForRecurrence)
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
cronExpressionForRecurrence - A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.Copyright © 2022. All rights reserved.