class ZAWS::External::AWSCLI::Generators::Result::EC2::AllocationId

Public Class Methods

new() click to toggle source
# File lib/zaws/external/awscli/generators/result/ec2/allocation_id.rb, line 8
def initialize
  @addresses= {}
  self
end

Public Instance Methods

allocation_id(id) click to toggle source
# File lib/zaws/external/awscli/generators/result/ec2/allocation_id.rb, line 23
def allocation_id(id)
  @addresses["AllocationId"]=id
  self
end
domain(domain) click to toggle source
# File lib/zaws/external/awscli/generators/result/ec2/allocation_id.rb, line 18
def domain(domain)
  @addresses["Domain"]=domain
  self
end
get_json() click to toggle source
# File lib/zaws/external/awscli/generators/result/ec2/allocation_id.rb, line 28
def get_json
  @addresses.to_json
end
public_ip(ip) click to toggle source
# File lib/zaws/external/awscli/generators/result/ec2/allocation_id.rb, line 13
def public_ip(ip)
  @addresses["PublicIp"]=ip
  self
end