Class: TencentCloud::Emr::V20190103::ComponentBasicRestartInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

操作的进程范围

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(componentname = nil, iplist = nil) ⇒ ComponentBasicRestartInfo

Returns a new instance of ComponentBasicRestartInfo.



1388
1389
1390
1391
# File 'lib/v20190103/models.rb', line 1388

def initialize(componentname=nil, iplist=nil)
  @ComponentName = componentname
  @IpList = iplist
end

Instance Attribute Details

#ComponentNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 进程名,必填,如NameNode

  • 操作的IP列表



1386
1387
1388
# File 'lib/v20190103/models.rb', line 1386

def ComponentName
  @ComponentName
end

#IpListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 进程名,必填,如NameNode

  • 操作的IP列表



1386
1387
1388
# File 'lib/v20190103/models.rb', line 1386

def IpList
  @IpList
end

Instance Method Details

#deserialize(params) ⇒ Object



1393
1394
1395
1396
# File 'lib/v20190103/models.rb', line 1393

def deserialize(params)
  @ComponentName = params['ComponentName']
  @IpList = params['IpList']
end