Class: TencentCloud::Emr::V20190103::MonthRepeatStrategy

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

定时伸缩每月重复任务策略

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executeattimeofday = nil, daysofmonthrange = nil) ⇒ MonthRepeatStrategy

Returns a new instance of MonthRepeatStrategy.



9598
9599
9600
9601
# File 'lib/v20190103/models.rb', line 9598

def initialize(executeattimeofday=nil, daysofmonthrange=nil)
  @ExecuteAtTimeOfDay = executeattimeofday
  @DaysOfMonthRange = daysofmonthrange
end

Instance Attribute Details

#DaysOfMonthRangeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ExecuteAtTimeOfDay:

    重复任务执行的具体时刻,例如"01:02:00"

  • DaysOfMonthRange:

    每月中的天数时间段描述,长度只能为2,例如[2,10]表示每月2-10号。



9596
9597
9598
# File 'lib/v20190103/models.rb', line 9596

def DaysOfMonthRange
  @DaysOfMonthRange
end

#ExecuteAtTimeOfDayObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ExecuteAtTimeOfDay:

    重复任务执行的具体时刻,例如"01:02:00"

  • DaysOfMonthRange:

    每月中的天数时间段描述,长度只能为2,例如[2,10]表示每月2-10号。



9596
9597
9598
# File 'lib/v20190103/models.rb', line 9596

def ExecuteAtTimeOfDay
  @ExecuteAtTimeOfDay
end

Instance Method Details

#deserialize(params) ⇒ Object



9603
9604
9605
9606
# File 'lib/v20190103/models.rb', line 9603

def deserialize(params)
  @ExecuteAtTimeOfDay = params['ExecuteAtTimeOfDay']
  @DaysOfMonthRange = params['DaysOfMonthRange']
end