Class: SDM::DynamoDB
- Inherits:
-
Object
- Object
- SDM::DynamoDB
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#port_override ⇒ Object
Returns the value of attribute port_override.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, access_key: nil, secret_access_key: nil, region: nil, endpoint: nil, port_override: nil) ⇒ DynamoDB
constructor
A new instance of DynamoDB.
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, access_key: nil, secret_access_key: nil, region: nil, endpoint: nil, port_override: nil) ⇒ DynamoDB
Returns a new instance of DynamoDB.
745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 |
# File 'lib/models/porcelain.rb', line 745 def initialize( id:nil \ , name:nil \ , healthy:nil \ , access_key:nil \ , secret_access_key:nil \ , region:nil \ , endpoint:nil \ , port_override:nil \ ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if access_key != nil @access_key = access_key end if secret_access_key != nil @secret_access_key = secret_access_key end if region != nil @region = region end if endpoint != nil @endpoint = endpoint end if port_override != nil @port_override = port_override end end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
736 737 738 |
# File 'lib/models/porcelain.rb', line 736 def access_key @access_key end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
742 743 744 |
# File 'lib/models/porcelain.rb', line 742 def endpoint @endpoint end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
734 735 736 |
# File 'lib/models/porcelain.rb', line 734 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
730 731 732 |
# File 'lib/models/porcelain.rb', line 730 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
732 733 734 |
# File 'lib/models/porcelain.rb', line 732 def name @name end |
#port_override ⇒ Object
Returns the value of attribute port_override.
744 745 746 |
# File 'lib/models/porcelain.rb', line 744 def port_override @port_override end |
#region ⇒ Object
Returns the value of attribute region.
740 741 742 |
# File 'lib/models/porcelain.rb', line 740 def region @region end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
738 739 740 |
# File 'lib/models/porcelain.rb', line 738 def secret_access_key @secret_access_key end |