Class: TencentCloud::Emr::V20190103::ModifyResourceSchedulerRequest

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

Overview

ModifyResourceScheduler请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, oldvalue = nil, newvalue = nil) ⇒ ModifyResourceSchedulerRequest

Returns a new instance of ModifyResourceSchedulerRequest.



9095
9096
9097
9098
9099
# File 'lib/v20190103/models.rb', line 9095

def initialize(instanceid=nil, oldvalue=nil, newvalue=nil)
  @InstanceId = instanceid
  @OldValue = oldvalue
  @NewValue = newvalue
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    emr集群的英文id

  • OldValue:

    老的调度器:fair

  • NewValue:

    新的调度器:capacity



9093
9094
9095
# File 'lib/v20190103/models.rb', line 9093

def InstanceId
  @InstanceId
end

#NewValueObject

Parameters:

  • InstanceId:

    emr集群的英文id

  • OldValue:

    老的调度器:fair

  • NewValue:

    新的调度器:capacity



9093
9094
9095
# File 'lib/v20190103/models.rb', line 9093

def NewValue
  @NewValue
end

#OldValueObject

Parameters:

  • InstanceId:

    emr集群的英文id

  • OldValue:

    老的调度器:fair

  • NewValue:

    新的调度器:capacity



9093
9094
9095
# File 'lib/v20190103/models.rb', line 9093

def OldValue
  @OldValue
end

Instance Method Details

#deserialize(params) ⇒ Object



9101
9102
9103
9104
9105
# File 'lib/v20190103/models.rb', line 9101

def deserialize(params)
  @InstanceId = params['InstanceId']
  @OldValue = params['OldValue']
  @NewValue = params['NewValue']
end