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)


8440
8441
8442
8443
8444
8445
# File 'lib/aws-sdk-iotsitewise/types.rb', line 8440

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)


8440
8441
8442
8443
8444
8445
# File 'lib/aws-sdk-iotsitewise/types.rb', line 8440

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