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(egress_filter: nil, healthy: nil, hostname: nil, id: nil, name: nil, password: nil, port: nil, port_override: nil, secret_store_id: nil, tags: nil, tls_required: nil, username: nil) ⇒ AmazonMQAMQP091
constructor
A new instance of AmazonMQAMQP091.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(egress_filter: nil, healthy: nil, hostname: nil, id: nil, name: nil, password: nil, port: nil, port_override: nil, secret_store_id: nil, tags: nil, tls_required: nil, username: nil) ⇒ AmazonMQAMQP091
Returns a new instance of AmazonMQAMQP091.
981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 |
# File 'lib/models/porcelain.rb', line 981 def initialize( egress_filter: nil, healthy: nil, hostname: nil, id: nil, name: nil, password: nil, port: nil, port_override: nil, secret_store_id: nil, tags: nil, tls_required: nil, username: nil ) @egress_filter = egress_filter == nil ? "" : egress_filter @healthy = healthy == nil ? false : healthy @hostname = hostname == nil ? "" : hostname @id = id == nil ? "" : id @name = name == nil ? "" : name @password = password == nil ? "" : password @port = port == nil ? 0 : port @port_override = port_override == nil ? 0 : port_override @secret_store_id = secret_store_id == nil ? "" : secret_store_id @tags = == nil ? SDM::() : @tls_required = tls_required == nil ? false : tls_required @username = username == nil ? "" : username end |
Instance Attribute Details
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
957 958 959 |
# File 'lib/models/porcelain.rb', line 957 def egress_filter @egress_filter end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
959 960 961 |
# File 'lib/models/porcelain.rb', line 959 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
961 962 963 |
# File 'lib/models/porcelain.rb', line 961 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
963 964 965 |
# File 'lib/models/porcelain.rb', line 963 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
965 966 967 |
# File 'lib/models/porcelain.rb', line 965 def name @name end |
#password ⇒ Object
Returns the value of attribute password.
967 968 969 |
# File 'lib/models/porcelain.rb', line 967 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
969 970 971 |
# File 'lib/models/porcelain.rb', line 969 def port @port end |
#port_override ⇒ Object
Returns the value of attribute port_override.
971 972 973 |
# File 'lib/models/porcelain.rb', line 971 def port_override @port_override end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
973 974 975 |
# File 'lib/models/porcelain.rb', line 973 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
975 976 977 |
# File 'lib/models/porcelain.rb', line 975 def @tags end |
#tls_required ⇒ Object
Returns the value of attribute tls_required.
977 978 979 |
# File 'lib/models/porcelain.rb', line 977 def tls_required @tls_required end |
#username ⇒ Object
Returns the value of attribute username.
979 980 981 |
# File 'lib/models/porcelain.rb', line 979 def username @username end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1009 1010 1011 1012 1013 1014 1015 |
# File 'lib/models/porcelain.rb', line 1009 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 |