Class: SportNginAwsAuditor::RecentlyRetiredTag
- Inherits:
-
Object
- Object
- SportNginAwsAuditor::RecentlyRetiredTag
- Defined in:
- lib/sport_ngin_aws_auditor/recently_retired_tag.rb
Instance Attribute Summary collapse
-
#instance_name ⇒ Object
Returns the value of attribute instance_name.
-
#instance_type ⇒ Object
Returns the value of attribute instance_type.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(tag_value, instance_type, instance_name, reason = nil) ⇒ RecentlyRetiredTag
constructor
A new instance of RecentlyRetiredTag.
Constructor Details
#initialize(tag_value, instance_type, instance_name, reason = nil) ⇒ RecentlyRetiredTag
Returns a new instance of RecentlyRetiredTag.
5 6 7 8 9 10 |
# File 'lib/sport_ngin_aws_auditor/recently_retired_tag.rb', line 5 def initialize(tag_value, instance_type, instance_name, reason=nil) self.value = tag_value self.instance_type = instance_type self.instance_name = instance_name self.reason = reason end |
Instance Attribute Details
#instance_name ⇒ Object
Returns the value of attribute instance_name.
4 5 6 |
# File 'lib/sport_ngin_aws_auditor/recently_retired_tag.rb', line 4 def instance_name @instance_name end |
#instance_type ⇒ Object
Returns the value of attribute instance_type.
4 5 6 |
# File 'lib/sport_ngin_aws_auditor/recently_retired_tag.rb', line 4 def instance_type @instance_type end |
#reason ⇒ Object
Returns the value of attribute reason.
4 5 6 |
# File 'lib/sport_ngin_aws_auditor/recently_retired_tag.rb', line 4 def reason @reason end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/sport_ngin_aws_auditor/recently_retired_tag.rb', line 4 def value @value end |