Class: AWSCDK::CustomerProfiles::CfnCalculatedAttributeDefinition::ReadinessProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_calculated_attribute_definition.rb

Overview

Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message: nil, progress_percentage: nil) ⇒ ReadinessProperty

Returns a new instance of ReadinessProperty.

Parameters:

  • message (String, nil) (defaults to: nil)

    Any customer messaging.

  • progress_percentage (Numeric, nil) (defaults to: nil)

    Approximately how far the Calculated Attribute creation is from completion.



851
852
853
854
855
856
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 851

def initialize(message: nil, progress_percentage: nil)
  @message = message
  Jsii::Type.check_type(@message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "message") unless @message.nil?
  @progress_percentage = progress_percentage
  Jsii::Type.check_type(@progress_percentage, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "progressPercentage") unless @progress_percentage.nil?
end

Instance Attribute Details

#messageString? (readonly)

Any customer messaging.



862
863
864
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 862

def message
  @message
end

#progress_percentageNumeric? (readonly)

Approximately how far the Calculated Attribute creation is from completion.



867
868
869
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 867

def progress_percentage
  @progress_percentage
end

Class Method Details

.jsii_propertiesObject



869
870
871
872
873
874
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 869

def self.jsii_properties
  {
    :message => "message",
    :progress_percentage => "progressPercentage",
  }
end

Instance Method Details

#to_jsiiObject



876
877
878
879
880
881
882
883
# File 'customer_profiles/cfn_calculated_attribute_definition.rb', line 876

def to_jsii
  result = {}
  result.merge!({
    "message" => @message,
    "progressPercentage" => @progress_percentage,
  })
  result.compact
end