Class: SportNginAwsAuditor::RecentlyRetiredTag

Inherits:
Object
  • Object
show all
Defined in:
lib/sport_ngin_aws_auditor/recently_retired_tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

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_typeObject

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

#reasonObject

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

#valueObject

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