Class: SDM::Athena

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, name: nil, healthy: nil, access_key: nil, secret_access_key: nil, output: nil, port_override: nil, region: nil) ⇒ Athena

Returns a new instance of Athena.



494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'lib/models/porcelain.rb', line 494

def initialize(
	id:nil \
,
	name:nil \
,
	healthy:nil \
,
	access_key:nil \
,
	secret_access_key:nil \
,
	output:nil \
,
	port_override:nil \
,
	region:nil \
)
	if id != nil
		@id = id
	end
	if name != nil
		@name = name
	end
	if healthy != nil
		@healthy = healthy
	end
	if access_key != nil
		@access_key = access_key
	end
	if secret_access_key != nil
		@secret_access_key = secret_access_key
	end
	if output != nil
		@output = output
	end
	if port_override != nil
		@port_override = port_override
	end
	if region != nil
		@region = region
	end
end

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



485
486
487
# File 'lib/models/porcelain.rb', line 485

def access_key
  @access_key
end

#healthyObject

True if the datasource is reachable and the credentials are valid.



483
484
485
# File 'lib/models/porcelain.rb', line 483

def healthy
  @healthy
end

#idObject

Unique identifier of the Resource.



479
480
481
# File 'lib/models/porcelain.rb', line 479

def id
  @id
end

#nameObject

Unique human-readable name of the Resource.



481
482
483
# File 'lib/models/porcelain.rb', line 481

def name
  @name
end

#outputObject

Returns the value of attribute output.



489
490
491
# File 'lib/models/porcelain.rb', line 489

def output
  @output
end

#port_overrideObject

Returns the value of attribute port_override.



491
492
493
# File 'lib/models/porcelain.rb', line 491

def port_override
  @port_override
end

#regionObject

Returns the value of attribute region.



493
494
495
# File 'lib/models/porcelain.rb', line 493

def region
  @region
end

#secret_access_keyObject

Returns the value of attribute secret_access_key.



487
488
489
# File 'lib/models/porcelain.rb', line 487

def secret_access_key
  @secret_access_key
end