Class: Aws::IoTSiteWise::Types::RetentionPeriod

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

Overview

The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#number_of_daysInteger

The number of days that your data is kept.

<note markdown=“1”> If you specified a value for this parameter, the ‘unlimited` parameter must be `false`.

</note>

Returns:

  • (Integer)


7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-iotsitewise/types.rb', line 7892

class RetentionPeriod < Struct.new(
  :number_of_days,
  :unlimited)
  SENSITIVE = []
  include Aws::Structure
end

#unlimitedBoolean

If true, your data is kept indefinitely.

<note markdown=“1”> If configured to ‘true`, you must not specify a value for the `numberOfDays` parameter.

</note>

Returns:

  • (Boolean)


7892
7893
7894
7895
7896
7897
# File 'lib/aws-sdk-iotsitewise/types.rb', line 7892

class RetentionPeriod < Struct.new(
  :number_of_days,
  :unlimited)
  SENSITIVE = []
  include Aws::Structure
end