com.amazonaws.services.opsworks.model

## クラス WeeklyAutoScalingSchedule

- java.lang.Object
- - com.amazonaws.services.opsworks.model.WeeklyAutoScalingSchedule

- すべての実装されたインタフェース:
    java.io.Serializable

      public class WeeklyAutoScalingSchedule
      extends java.lang.Object
      implements java.io.Serializable

  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 default setting for all time periods is off, so you use the following parameters primarily to specify the online periods. You don't have to explicitly specify offline periods unless you want to change an online period to an offline period.

  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" }`
  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `WeeklyAutoScalingSchedule()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `WeeklyAutoScalingSchedule` | `addFridayEntry(java.lang.String key, java.lang.String value)` The schedule for Friday.
    `WeeklyAutoScalingSchedule` | `addMondayEntry(java.lang.String key, java.lang.String value)` The schedule for Monday.
    `WeeklyAutoScalingSchedule` | `addSaturdayEntry(java.lang.String key, java.lang.String value)` The schedule for Saturday.
    `WeeklyAutoScalingSchedule` | `addSundayEntry(java.lang.String key, java.lang.String value)` The schedule for Sunday.
    `WeeklyAutoScalingSchedule` | `addThursdayEntry(java.lang.String key, java.lang.String value)` The schedule for Thursday.
    `WeeklyAutoScalingSchedule` | `addTuesdayEntry(java.lang.String key, java.lang.String value)` The schedule for Tuesday.
    `WeeklyAutoScalingSchedule` | `addWednesdayEntry(java.lang.String key, java.lang.String value)` The schedule for Wednesday.
    `WeeklyAutoScalingSchedule` | `clearFridayEntries()` Removes all the entries added into Friday.
    `WeeklyAutoScalingSchedule` | `clearMondayEntries()` Removes all the entries added into Monday.
    `WeeklyAutoScalingSchedule` | `clearSaturdayEntries()` Removes all the entries added into Saturday.
    `WeeklyAutoScalingSchedule` | `clearSundayEntries()` Removes all the entries added into Sunday.
    `WeeklyAutoScalingSchedule` | `clearThursdayEntries()` Removes all the entries added into Thursday.
    `WeeklyAutoScalingSchedule` | `clearTuesdayEntries()` Removes all the entries added into Tuesday.
    `WeeklyAutoScalingSchedule` | `clearWednesdayEntries()` Removes all the entries added into Wednesday.
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.Map<java.lang.String,java.lang.String>` | `getFriday()` The schedule for Friday.
    `java.util.Map<java.lang.String,java.lang.String>` | `getMonday()` The schedule for Monday.
    `java.util.Map<java.lang.String,java.lang.String>` | `getSaturday()` The schedule for Saturday.
    `java.util.Map<java.lang.String,java.lang.String>` | `getSunday()` The schedule for Sunday.
    `java.util.Map<java.lang.String,java.lang.String>` | `getThursday()` The schedule for Thursday.
    `java.util.Map<java.lang.String,java.lang.String>` | `getTuesday()` The schedule for Tuesday.
    `java.util.Map<java.lang.String,java.lang.String>` | `getWednesday()` The schedule for Wednesday.
    `int` | `hashCode()`
    `void` | `setFriday(java.util.Map<java.lang.String,java.lang.String> friday)` The schedule for Friday.
    `void` | `setMonday(java.util.Map<java.lang.String,java.lang.String> monday)` The schedule for Monday.
    `void` | `setSaturday(java.util.Map<java.lang.String,java.lang.String> saturday)` The schedule for Saturday.
    `void` | `setSunday(java.util.Map<java.lang.String,java.lang.String> sunday)` The schedule for Sunday.
    `void` | `setThursday(java.util.Map<java.lang.String,java.lang.String> thursday)` The schedule for Thursday.
    `void` | `setTuesday(java.util.Map<java.lang.String,java.lang.String> tuesday)` The schedule for Tuesday.
    `void` | `setWednesday(java.util.Map<java.lang.String,java.lang.String> wednesday)` The schedule for Wednesday.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `WeeklyAutoScalingSchedule` | `withFriday(java.util.Map<java.lang.String,java.lang.String> friday)` The schedule for Friday.
    `WeeklyAutoScalingSchedule` | `withMonday(java.util.Map<java.lang.String,java.lang.String> monday)` The schedule for Monday.
    `WeeklyAutoScalingSchedule` | `withSaturday(java.util.Map<java.lang.String,java.lang.String> saturday)` The schedule for Saturday.
    `WeeklyAutoScalingSchedule` | `withSunday(java.util.Map<java.lang.String,java.lang.String> sunday)` The schedule for Sunday.
    `WeeklyAutoScalingSchedule` | `withThursday(java.util.Map<java.lang.String,java.lang.String> thursday)` The schedule for Thursday.
    `WeeklyAutoScalingSchedule` | `withTuesday(java.util.Map<java.lang.String,java.lang.String> tuesday)` The schedule for Tuesday.
    `WeeklyAutoScalingSchedule` | `withWednesday(java.util.Map<java.lang.String,java.lang.String> wednesday)` The schedule for Wednesday.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### WeeklyAutoScalingSchedule

          public WeeklyAutoScalingSchedule()

  - ### メソッドの詳細

    - #### getMonday

          public java.util.Map<java.lang.String,java.lang.String> getMonday()

      The schedule for Monday.
      戻り値:
        The schedule for Monday.

    - #### setMonday

          public void setMonday(java.util.Map<java.lang.String,java.lang.String> monday)

      The schedule for Monday.
      パラメータ:
        `monday` - The schedule for Monday.

    - #### withMonday

          public WeeklyAutoScalingSchedule withMonday(java.util.Map<java.lang.String,java.lang.String> monday)

      The schedule for Monday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `monday` - The schedule for Monday.

    - #### addMondayEntry

          public WeeklyAutoScalingSchedule addMondayEntry(java.lang.String key,
                                                 java.lang.String value)

      The schedule for Monday.

      The method adds a new key-value pair into Monday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Monday.
        `value` - The corresponding value of the entry to be added into Monday.

    - #### clearMondayEntries

          public WeeklyAutoScalingSchedule clearMondayEntries()

      Removes all the entries added into Monday.

      Returns a reference to this object so that method calls can be chained together.

    - #### getTuesday

          public java.util.Map<java.lang.String,java.lang.String> getTuesday()

      The schedule for Tuesday.
      戻り値:
        The schedule for Tuesday.

    - #### setTuesday

          public void setTuesday(java.util.Map<java.lang.String,java.lang.String> tuesday)

      The schedule for Tuesday.
      パラメータ:
        `tuesday` - The schedule for Tuesday.

    - #### withTuesday

          public WeeklyAutoScalingSchedule withTuesday(java.util.Map<java.lang.String,java.lang.String> tuesday)

      The schedule for Tuesday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `tuesday` - The schedule for Tuesday.

    - #### addTuesdayEntry

          public WeeklyAutoScalingSchedule addTuesdayEntry(java.lang.String key,
                                                  java.lang.String value)

      The schedule for Tuesday.

      The method adds a new key-value pair into Tuesday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Tuesday.
        `value` - The corresponding value of the entry to be added into Tuesday.

    - #### clearTuesdayEntries

          public WeeklyAutoScalingSchedule clearTuesdayEntries()

      Removes all the entries added into Tuesday.

      Returns a reference to this object so that method calls can be chained together.

    - #### getWednesday

          public java.util.Map<java.lang.String,java.lang.String> getWednesday()

      The schedule for Wednesday.
      戻り値:
        The schedule for Wednesday.

    - #### setWednesday

          public void setWednesday(java.util.Map<java.lang.String,java.lang.String> wednesday)

      The schedule for Wednesday.
      パラメータ:
        `wednesday` - The schedule for Wednesday.

    - #### withWednesday

          public WeeklyAutoScalingSchedule withWednesday(java.util.Map<java.lang.String,java.lang.String> wednesday)

      The schedule for Wednesday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `wednesday` - The schedule for Wednesday.

    - #### addWednesdayEntry

          public WeeklyAutoScalingSchedule addWednesdayEntry(java.lang.String key,
                                                    java.lang.String value)

      The schedule for Wednesday.

      The method adds a new key-value pair into Wednesday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Wednesday.
        `value` - The corresponding value of the entry to be added into Wednesday.

    - #### clearWednesdayEntries

          public WeeklyAutoScalingSchedule clearWednesdayEntries()

      Removes all the entries added into Wednesday.

      Returns a reference to this object so that method calls can be chained together.

    - #### getThursday

          public java.util.Map<java.lang.String,java.lang.String> getThursday()

      The schedule for Thursday.
      戻り値:
        The schedule for Thursday.

    - #### setThursday

          public void setThursday(java.util.Map<java.lang.String,java.lang.String> thursday)

      The schedule for Thursday.
      パラメータ:
        `thursday` - The schedule for Thursday.

    - #### withThursday

          public WeeklyAutoScalingSchedule withThursday(java.util.Map<java.lang.String,java.lang.String> thursday)

      The schedule for Thursday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `thursday` - The schedule for Thursday.

    - #### addThursdayEntry

          public WeeklyAutoScalingSchedule addThursdayEntry(java.lang.String key,
                                                   java.lang.String value)

      The schedule for Thursday.

      The method adds a new key-value pair into Thursday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Thursday.
        `value` - The corresponding value of the entry to be added into Thursday.

    - #### clearThursdayEntries

          public WeeklyAutoScalingSchedule clearThursdayEntries()

      Removes all the entries added into Thursday.

      Returns a reference to this object so that method calls can be chained together.

    - #### getFriday

          public java.util.Map<java.lang.String,java.lang.String> getFriday()

      The schedule for Friday.
      戻り値:
        The schedule for Friday.

    - #### setFriday

          public void setFriday(java.util.Map<java.lang.String,java.lang.String> friday)

      The schedule for Friday.
      パラメータ:
        `friday` - The schedule for Friday.

    - #### withFriday

          public WeeklyAutoScalingSchedule withFriday(java.util.Map<java.lang.String,java.lang.String> friday)

      The schedule for Friday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `friday` - The schedule for Friday.

    - #### addFridayEntry

          public WeeklyAutoScalingSchedule addFridayEntry(java.lang.String key,
                                                 java.lang.String value)

      The schedule for Friday.

      The method adds a new key-value pair into Friday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Friday.
        `value` - The corresponding value of the entry to be added into Friday.

    - #### clearFridayEntries

          public WeeklyAutoScalingSchedule clearFridayEntries()

      Removes all the entries added into Friday.

      Returns a reference to this object so that method calls can be chained together.

    - #### getSaturday

          public java.util.Map<java.lang.String,java.lang.String> getSaturday()

      The schedule for Saturday.
      戻り値:
        The schedule for Saturday.

    - #### setSaturday

          public void setSaturday(java.util.Map<java.lang.String,java.lang.String> saturday)

      The schedule for Saturday.
      パラメータ:
        `saturday` - The schedule for Saturday.

    - #### withSaturday

          public WeeklyAutoScalingSchedule withSaturday(java.util.Map<java.lang.String,java.lang.String> saturday)

      The schedule for Saturday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `saturday` - The schedule for Saturday.

    - #### addSaturdayEntry

          public WeeklyAutoScalingSchedule addSaturdayEntry(java.lang.String key,
                                                   java.lang.String value)

      The schedule for Saturday.

      The method adds a new key-value pair into Saturday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Saturday.
        `value` - The corresponding value of the entry to be added into Saturday.

    - #### clearSaturdayEntries

          public WeeklyAutoScalingSchedule clearSaturdayEntries()

      Removes all the entries added into Saturday.

      Returns a reference to this object so that method calls can be chained together.

    - #### getSunday

          public java.util.Map<java.lang.String,java.lang.String> getSunday()

      The schedule for Sunday.
      戻り値:
        The schedule for Sunday.

    - #### setSunday

          public void setSunday(java.util.Map<java.lang.String,java.lang.String> sunday)

      The schedule for Sunday.
      パラメータ:
        `sunday` - The schedule for Sunday.

    - #### withSunday

          public WeeklyAutoScalingSchedule withSunday(java.util.Map<java.lang.String,java.lang.String> sunday)

      The schedule for Sunday.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `sunday` - The schedule for Sunday.

    - #### addSundayEntry

          public WeeklyAutoScalingSchedule addSundayEntry(java.lang.String key,
                                                 java.lang.String value)

      The schedule for Sunday.

      The method adds a new key-value pair into Sunday parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Sunday.
        `value` - The corresponding value of the entry to be added into Sunday.

    - #### clearSundayEntries

          public WeeklyAutoScalingSchedule clearSundayEntries()

      Removes all the entries added into Sunday.

      Returns a reference to this object so that method calls can be chained together.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`