public class ModifyGlobalConfigRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyGlobalConfigRequest() |
ModifyGlobalConfigRequest(ModifyGlobalConfigRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get English ID of the EMR cluster.
|
Item[] |
getItems()
Get List of modified configurations.
|
void |
setInstanceId(String InstanceId)
Set English ID of the EMR cluster.
|
void |
setItems(Item[] Items)
Set List of modified configurations.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyGlobalConfigRequest()
public ModifyGlobalConfigRequest(ModifyGlobalConfigRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- English ID of the EMR cluster.public Item[] getItems()
public void setItems(Item[] Items)
Items
- List of modified configurations. Key values have a one-to-one correspondence with the output parameters of the `DescribeGlobalConfig` API and are case-insensitive (if an error occurs indicating the key cannot be found, refer to the output parameters). The values are:
1. enableResourceSchedule: Enables or disables resource scheduling. When disabling, a synchronous operation option (sync) is available with values true or false.
2. scheduler type: scheduler.
2. enableLabel: Enables or disables tags, with values true or false.
2. tag directory: labelDir.
3. whether to overwrite the user-specified queue, with values true or false.
4. userMaxAppsDefault: program upper limit.
5. dynamic configuration item: Corresponds to the Name field in the DefaultSettings object returned by the DescribeGlobalConfig API.
The values are strings. For **whether to overwrite the user-specified queue** and **program upper limit**, null in the JSON specifications means clearing the value of this configuration. Individual configuration items can be modified. For **dynamic configurations**, a full transmission is required to perform overwriting.Copyright © 2025. All rights reserved.