Method: SDM::ElasticacheRedis#initialize

Defined in:
lib/models/porcelain.rb

#initialize(id: nil, name: nil, healthy: nil, tags: nil, hostname: nil, port_override: nil, password: nil, port: nil, tls_required: nil) ⇒ ElasticacheRedis

Returns a new instance of ElasticacheRedis.



3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
# File 'lib/models/porcelain.rb', line 3646

def initialize(
  id: nil,
  name: nil,
  healthy: nil,
  tags: nil,
  hostname: nil,
  port_override: nil,
  password: nil,
  port: nil,
  tls_required: nil
)
  if id != nil
    @id = id
  end
  if name != nil
    @name = name
  end
  if healthy != nil
    @healthy = healthy
  end
  if tags != nil
    @tags = tags
  end
  if hostname != nil
    @hostname = hostname
  end
  if port_override != nil
    @port_override = port_override
  end
  if password != nil
    @password = password
  end
  if port != nil
    @port = port
  end
  if tls_required != nil
    @tls_required = tls_required
  end
end