Class: AWSCDK::LookoutMetrics::CfnAnomalyDetector::TimestampColumnProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LookoutMetrics::CfnAnomalyDetector::TimestampColumnProperty
- Defined in:
- lookout_metrics/cfn_anomaly_detector.rb
Overview
Contains information about the column used to track time in a source data file.
Instance Attribute Summary collapse
-
#column_format ⇒ String?
readonly
The format of the timestamp column.
-
#column_name ⇒ String?
readonly
The name of the timestamp column.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_format: nil, column_name: nil) ⇒ TimestampColumnProperty
constructor
A new instance of TimestampColumnProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_format: nil, column_name: nil) ⇒ TimestampColumnProperty
Returns a new instance of TimestampColumnProperty.
1355 1356 1357 1358 1359 1360 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 1355 def initialize(column_format: nil, column_name: nil) @column_format = column_format Jsii::Type.check_type(@column_format, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnFormat") unless @column_format.nil? @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") unless @column_name.nil? end |
Instance Attribute Details
#column_format ⇒ String? (readonly)
The format of the timestamp column.
1366 1367 1368 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 1366 def column_format @column_format end |
#column_name ⇒ String? (readonly)
The name of the timestamp column.
1371 1372 1373 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 1371 def column_name @column_name end |
Class Method Details
.jsii_properties ⇒ Object
1373 1374 1375 1376 1377 1378 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 1373 def self.jsii_properties { :column_format => "columnFormat", :column_name => "columnName", } end |
Instance Method Details
#to_jsii ⇒ Object
1380 1381 1382 1383 1384 1385 1386 1387 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 1380 def to_jsii result = {} result.merge!({ "columnFormat" => @column_format, "columnName" => @column_name, }) result.compact end |