Class: Humidifier::ManagedBlockchain::Node

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::ManagedBlockchain::Node resource

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#member_idObject

returns the MemberId property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def member_id
  properties['member_id']
end

#member_id=(value) ⇒ Object

sets the MemberId property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def member_id=(value)
  update_property('member_id', value)
end

#network_idObject

returns the NetworkId property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def network_id
  properties['network_id']
end

#network_id=(value) ⇒ Object

sets the NetworkId property (String)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def network_id=(value)
  update_property('network_id', value)
end

#node_configurationObject

returns the NodeConfiguration property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def node_configuration
  properties['node_configuration']
end

#node_configuration=(value) ⇒ Object

sets the NodeConfiguration property (Structure)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def node_configuration=(value)
  update_property('node_configuration', value)
end