Class: Ubuntu::Ami

Inherits:
Object
  • Object
show all
Defined in:
lib/ubuntu_ami.rb,
lib/ubuntu_ami/version.rb

Overview

Provides accessors for the properties of the AMI list.

Constant Summary collapse

VERSION =
'0.4.3'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, root_store, arch, region, virtualization_type) ⇒ Ami

Returns a new instance of Ami.



80
81
82
83
84
85
86
# File 'lib/ubuntu_ami.rb', line 80

def initialize(name, root_store, arch, region, virtualization_type)
  @name = name
  @root_store = root_store
  @arch = arch
  @region = region
  @virtualization_type = virtualization_type
end

Instance Attribute Details

#archObject (readonly)

Returns the value of attribute arch.



78
79
80
# File 'lib/ubuntu_ami.rb', line 78

def arch
  @arch
end

#nameObject (readonly)

Returns the value of attribute name.



78
79
80
# File 'lib/ubuntu_ami.rb', line 78

def name
  @name
end

#regionObject (readonly)

Returns the value of attribute region.



78
79
80
# File 'lib/ubuntu_ami.rb', line 78

def region
  @region
end

#root_storeObject (readonly)

Returns the value of attribute root_store.



78
79
80
# File 'lib/ubuntu_ami.rb', line 78

def root_store
  @root_store
end

#virtualization_typeObject (readonly)

Returns the value of attribute virtualization_type.



78
79
80
# File 'lib/ubuntu_ami.rb', line 78

def virtualization_type
  @virtualization_type
end