public static interface TimeBasedAutoScalingConfiguration.Builder extends CopyableBuilder<TimeBasedAutoScalingConfiguration.Builder,TimeBasedAutoScalingConfiguration>
Modifier and Type | Method and Description |
---|---|
default TimeBasedAutoScalingConfiguration.Builder |
autoScalingSchedule(Consumer<WeeklyAutoScalingSchedule.Builder> autoScalingSchedule)
A
WeeklyAutoScalingSchedule object with the instance schedule. |
TimeBasedAutoScalingConfiguration.Builder |
autoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
A
WeeklyAutoScalingSchedule object with the instance schedule. |
TimeBasedAutoScalingConfiguration.Builder |
instanceId(String instanceId)
The instance ID.
|
copy
applyMutation, build
TimeBasedAutoScalingConfiguration.Builder instanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.TimeBasedAutoScalingConfiguration.Builder autoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
A WeeklyAutoScalingSchedule
object with the instance schedule.
autoScalingSchedule
- A WeeklyAutoScalingSchedule
object with the instance schedule.default TimeBasedAutoScalingConfiguration.Builder autoScalingSchedule(Consumer<WeeklyAutoScalingSchedule.Builder> autoScalingSchedule)
A WeeklyAutoScalingSchedule
object with the instance schedule.
WeeklyAutoScalingSchedule.Builder
avoiding the
need to create one manually via WeeklyAutoScalingSchedule.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to autoScalingSchedule(WeeklyAutoScalingSchedule)
.autoScalingSchedule
- a consumer that will call methods on WeeklyAutoScalingSchedule.Builder
autoScalingSchedule(WeeklyAutoScalingSchedule)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.