public static final class ExportNacosConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExportNacosConfigRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
ExportNacosConfigRequest.Builder |
appName(String appName)
The application tag.
|
ExportNacosConfigRequest |
build() |
ExportNacosConfigRequest.Builder |
dataId(String dataId)
The ID of the data that you want to export.
|
ExportNacosConfigRequest.Builder |
dataIds(String dataIds)
The configuration group name and the ID of the configuration that you want to export.
|
ExportNacosConfigRequest.Builder |
group(String group)
The name of the configuration group.
|
ExportNacosConfigRequest.Builder |
ids(String ids)
The ID of the primary key of a configuration item.
|
ExportNacosConfigRequest.Builder |
instanceId(String instanceId)
The ID of the instance.
|
ExportNacosConfigRequest.Builder |
namespaceId(String namespaceId)
The ID of the namespace.
|
public ExportNacosConfigRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public ExportNacosConfigRequest.Builder appName(String appName)
The application tag.
example:qjl-gateway-openapi
public ExportNacosConfigRequest.Builder dataId(String dataId)
The ID of the data that you want to export.
Multiple export methods are supported.
If you want to export a single configuration, you must leave the Ids parameter empty and specify the DataID and Group parameters.
sms-mes-develop.prop****
public ExportNacosConfigRequest.Builder dataIds(String dataIds)
The configuration group name and the ID of the configuration that you want to export. Separate multiple configurations with comma (,).
example:testGroup+testDataId1,testGroup+testDataId2
public ExportNacosConfigRequest.Builder group(String group)
The name of the configuration group.
example:TIMEDTASK_COMMON_GROUP
public ExportNacosConfigRequest.Builder ids(String ids)
The ID of the primary key of a configuration item.
example:
- Multiple export methods are supported. You must specify this parameter if you want to export multiple configurations. - You can obtain the value of this parameter by calling the ListNacosConfigs operation. - If you specify this parameter, multiple configurations are exported. The DataId and Group parameters are invalid.
1709,1710
public ExportNacosConfigRequest.Builder instanceId(String instanceId)
The ID of the instance.
This parameter is required.
example:mse-cn-2r42ddc****
public ExportNacosConfigRequest.Builder namespaceId(String namespaceId)
The ID of the namespace.
example:ae77c258-4d4f-478f-baaa-084aee0****
public ExportNacosConfigRequest build()
Copyright © 2026. All rights reserved.