Class: Aws::DevOpsAgent::Types::Recurrence

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb

Overview

Note:

Recurrence is a union - when making an API calls you must set exactly one of the members.

Note:

Recurrence is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Recurrence corresponding to the set member.

Recurrence cadence for a time-range schedule

Defined Under Namespace

Classes: Daily, Monthly, Unknown, Weekly

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#daily ⇒ Types::DailyRecurrence

The window recurs every day

Returns:

  • (Types::DailyRecurrence)


4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 4642

class Recurrence < Struct.new(
  :daily,
  :weekly,
  :monthly,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Daily < Recurrence; end
  class Weekly < Recurrence; end
  class Monthly < Recurrence; end
  class Unknown < Recurrence; end
end

#monthly ⇒ Types::MonthlyRecurrence

The window recurs once per month



4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 4642

class Recurrence < Struct.new(
  :daily,
  :weekly,
  :monthly,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Daily < Recurrence; end
  class Weekly < Recurrence; end
  class Monthly < Recurrence; end
  class Unknown < Recurrence; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4642
4643
4644
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 4642

def unknown
  @unknown
end

#weekly ⇒ Types::WeeklyRecurrence

The window recurs once per week



4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 4642

class Recurrence < Struct.new(
  :daily,
  :weekly,
  :monthly,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Daily < Recurrence; end
  class Weekly < Recurrence; end
  class Monthly < Recurrence; end
  class Unknown < Recurrence; end
end