Method: Aws::Endpoints::TreeRule#initialize

Defined in:
lib/aws-sdk-core/endpoints/tree_rule.rb

#initialize(type: 'tree', conditions:, rules:, documentation: nil) ⇒ TreeRule

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of TreeRule.



12
13
14
15
16
17
# File 'lib/aws-sdk-core/endpoints/tree_rule.rb', line 12

def initialize(type: 'tree', conditions:, rules:, documentation: nil)
  @type = type
  @conditions = Condition.from_json(conditions)
  @rules = RuleSet.rules_from_json(rules)
  @documentation = documentation
end