WeeklyAutoScalingSchedule class
Describes a time-based instance's auto scaling schedule. The schedule consists of a set of key-value pairs.
- The key is the time period (a UTC hour) and must be an integer from 0 - 23.
- The value indicates whether the instance should be online or offline for the specified period, and must be set to "on" or "off"
The following example specifies that the instance should be online for four hours, from UTC 1200 - 1600. It will be off for the remainder of the day.
{ "12":"on", "13":"on", "14":"on", "15":"on" }
Constructors
-
WeeklyAutoScalingSchedule({Map<
String, String> ? friday, Map<String, String> ? monday, Map<String, String> ? saturday, Map<String, String> ? sunday, Map<String, String> ? thursday, Map<String, String> ? tuesday, Map<String, String> ? wednesday}) -
WeeklyAutoScalingSchedule.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
friday
→ Map<
String, String> ? -
The schedule for Friday.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
monday
→ Map<
String, String> ? -
The schedule for Monday.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
saturday
→ Map<
String, String> ? -
The schedule for Saturday.
final
-
sunday
→ Map<
String, String> ? -
The schedule for Sunday.
final
-
thursday
→ Map<
String, String> ? -
The schedule for Thursday.
final
-
tuesday
→ Map<
String, String> ? -
The schedule for Tuesday.
final
-
wednesday
→ Map<
String, String> ? -
The schedule for Wednesday.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited