Class: SDM::AmazonES
- Inherits:
-
Object
- Object
- SDM::AmazonES
- 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, region: nil, secret_access_key: nil, endpoint: nil, access_key: nil, port_override: nil) ⇒ AmazonES
constructor
A new instance of AmazonES.
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, region: nil, secret_access_key: nil, endpoint: nil, access_key: nil, port_override: nil) ⇒ AmazonES
Returns a new instance of AmazonES.
806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/models/porcelain.rb', line 806 def initialize( id:nil \ , name:nil \ , healthy:nil \ , region:nil \ , secret_access_key:nil \ , endpoint:nil \ , access_key:nil \ , port_override:nil \ ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if region != nil @region = region end if secret_access_key != nil @secret_access_key = secret_access_key end if endpoint != nil @endpoint = endpoint end if access_key != nil @access_key = access_key end if port_override != nil @port_override = port_override end end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
803 804 805 |
# File 'lib/models/porcelain.rb', line 803 def access_key @access_key end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
801 802 803 |
# File 'lib/models/porcelain.rb', line 801 def endpoint @endpoint end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
795 796 797 |
# File 'lib/models/porcelain.rb', line 795 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
791 792 793 |
# File 'lib/models/porcelain.rb', line 791 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
793 794 795 |
# File 'lib/models/porcelain.rb', line 793 def name @name end |
#port_override ⇒ Object
Returns the value of attribute port_override.
805 806 807 |
# File 'lib/models/porcelain.rb', line 805 def port_override @port_override end |
#region ⇒ Object
Returns the value of attribute region.
797 798 799 |
# File 'lib/models/porcelain.rb', line 797 def region @region end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
799 800 801 |
# File 'lib/models/porcelain.rb', line 799 def secret_access_key @secret_access_key end |