Class: SDM::AmazonMQAMQP091
- Inherits:
-
Object
- Object
- SDM::AmazonMQAMQP091
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#port_override ⇒ Object
Returns the value of attribute port_override.
-
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#tls_required ⇒ Object
Returns the value of attribute tls_required.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, port_override: nil, port: nil, username: nil, password: nil, tls_required: nil) ⇒ AmazonMQAMQP091
constructor
A new instance of AmazonMQAMQP091.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, port_override: nil, port: nil, username: nil, password: nil, tls_required: nil) ⇒ AmazonMQAMQP091
Returns a new instance of AmazonMQAMQP091.
833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 |
# File 'lib/models/porcelain.rb', line 833 def initialize( id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, port_override: nil, port: nil, username: nil, password: nil, tls_required: nil ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if != nil @tags = end if secret_store_id != nil @secret_store_id = secret_store_id end if egress_filter != nil @egress_filter = egress_filter end if hostname != nil @hostname = hostname end if port_override != nil @port_override = port_override end if port != nil @port = port end if username != nil @username = username end if password != nil @password = password end if tls_required != nil @tls_required = tls_required end end |
Instance Attribute Details
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
819 820 821 |
# File 'lib/models/porcelain.rb', line 819 def egress_filter @egress_filter end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
813 814 815 |
# File 'lib/models/porcelain.rb', line 813 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
821 822 823 |
# File 'lib/models/porcelain.rb', line 821 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
809 810 811 |
# File 'lib/models/porcelain.rb', line 809 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
811 812 813 |
# File 'lib/models/porcelain.rb', line 811 def name @name end |
#password ⇒ Object
Returns the value of attribute password.
829 830 831 |
# File 'lib/models/porcelain.rb', line 829 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
825 826 827 |
# File 'lib/models/porcelain.rb', line 825 def port @port end |
#port_override ⇒ Object
Returns the value of attribute port_override.
823 824 825 |
# File 'lib/models/porcelain.rb', line 823 def port_override @port_override end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
817 818 819 |
# File 'lib/models/porcelain.rb', line 817 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
815 816 817 |
# File 'lib/models/porcelain.rb', line 815 def @tags end |
#tls_required ⇒ Object
Returns the value of attribute tls_required.
831 832 833 |
# File 'lib/models/porcelain.rb', line 831 def tls_required @tls_required end |
#username ⇒ Object
Returns the value of attribute username.
827 828 829 |
# File 'lib/models/porcelain.rb', line 827 def username @username end |
Instance Method Details
#to_json(options = {}) ⇒ Object
885 886 887 888 889 890 891 |
# File 'lib/models/porcelain.rb', line 885 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |