AutoscaleProfile.Update Interface
Implements
public static interface AutoscaleProfile.Update
extends Settable<Update>
Grouping of autoscale profile update stages.
Modifier and Type | Method and Description |
---|---|
abstract Blank |
define Starts the definition of scale rule for the current autoscale profile. |
abstract Update |
update Starts the update of the scale rule for the current autoscale profile. |
abstract Update |
with Updates fixed date schedule for autoscale profile. |
abstract Update |
with Updates metric based autoscale profile. |
abstract Update |
without Removes scale rule from the current autoscale profile. |
abstract Update |
with Updates recurrent schedule for autoscale profile. |
abstract Update |
with Updates schedule based autoscale profile. |
defineScaleRule
public abstract ScaleRule.UpdateDefinitionStages.Blank defineScaleRule()
Starts the definition of scale rule for the current autoscale profile.
Returns:
updateScaleRule
public abstract ScaleRule.Update updateScaleRule(int ruleIndex)
Starts the update of the scale rule for the current autoscale profile.
Parameters:
Returns:
withFixedDateSchedule
public abstract AutoscaleProfile.Update withFixedDateSchedule(String timeZone, OffsetDateTime start, OffsetDateTime end)
Updates fixed date schedule for autoscale profile.
Parameters:
Returns:
withMetricBasedScale
public abstract AutoscaleProfile.Update withMetricBasedScale(int minimumInstanceCount, int maximumInstanceCount, int defaultInstanceCount)
Updates metric based autoscale profile.
Parameters:
Returns:
withoutScaleRule
public abstract AutoscaleProfile.Update withoutScaleRule(int ruleIndex)
Removes scale rule from the current autoscale profile.
Parameters:
Returns:
withRecurrentSchedule
public abstract AutoscaleProfile.Update withRecurrentSchedule(String scheduleTimeZone, String startTime, DayOfWeek[] weekday)
Updates recurrent schedule for autoscale profile.
Parameters:
Returns:
withScheduleBasedScale
public abstract AutoscaleProfile.Update withScheduleBasedScale(int instanceCount)
Updates schedule based autoscale profile.
Parameters:
Returns: