Class: Aws::Inspector2::Types::Schedule

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-inspector2/types.rb

Overview

Note:

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

Note:

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

A schedule.

Direct Known Subclasses

Daily, Monthly, OneTime, Unknown, Weekly

Defined Under Namespace

Classes: Daily, Monthly, OneTime, Unknown, Weekly

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dailyTypes::DailySchedule

The schedule’s daily.



6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
# File 'lib/aws-sdk-inspector2/types.rb', line 6326

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

  class Daily < Schedule; end
  class Monthly < Schedule; end
  class OneTime < Schedule; end
  class Weekly < Schedule; end
  class Unknown < Schedule; end
end

#monthlyTypes::MonthlySchedule

The schedule’s monthly.



6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
# File 'lib/aws-sdk-inspector2/types.rb', line 6326

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

  class Daily < Schedule; end
  class Monthly < Schedule; end
  class OneTime < Schedule; end
  class Weekly < Schedule; end
  class Unknown < Schedule; end
end

#one_timeTypes::OneTimeSchedule

The schedule’s one time.



6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
# File 'lib/aws-sdk-inspector2/types.rb', line 6326

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

  class Daily < Schedule; end
  class Monthly < Schedule; end
  class OneTime < Schedule; end
  class Weekly < Schedule; end
  class Unknown < Schedule; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6326
6327
6328
# File 'lib/aws-sdk-inspector2/types.rb', line 6326

def unknown
  @unknown
end

#weeklyTypes::WeeklySchedule

The schedule’s weekly.



6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
# File 'lib/aws-sdk-inspector2/types.rb', line 6326

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

  class Daily < Schedule; end
  class Monthly < Schedule; end
  class OneTime < Schedule; end
  class Weekly < Schedule; end
  class Unknown < Schedule; end
end