public static final class UpdateNamespaceSlsConfigsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateNamespaceSlsConfigsRequest |
build() |
UpdateNamespaceSlsConfigsRequest.Builder |
namespaceId(String namespaceId)
The namespace ID.
|
UpdateNamespaceSlsConfigsRequest.Builder |
nameSpaceShortId(String nameSpaceShortId)
The short ID of the namespace.
|
UpdateNamespaceSlsConfigsRequest.Builder |
slsConfigs(String slsConfigs)
The logging configurations of Simple Log Service.
|
UpdateNamespaceSlsConfigsRequest.Builder |
slsLogEnvTags(String slsLogEnvTags)
SlsLogEnvTags.
|
public UpdateNamespaceSlsConfigsRequest.Builder nameSpaceShortId(String nameSpaceShortId)
The short ID of the namespace. No need to specify a region ID. We recommend configuring this parameter.
example:test
public UpdateNamespaceSlsConfigsRequest.Builder namespaceId(String namespaceId)
The namespace ID.
example:cn-beijing:test
public UpdateNamespaceSlsConfigsRequest.Builder slsConfigs(String slsConfigs)
The logging configurations of Simple Log Service.
[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]: Simple Log Service resources automatically created by Serverless App Engine (SAE) are used.[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].Take note of the following subparameters:
If logging configuration changes are not needed during job template deployment, specify SlsConfigs only in the first request. Omit this parameter in later requests. To stop using Simple Log Service, leave SlsConfigs empty.
example:Projects automatically created by SAE for job templates are deleted when their corresponding job templates are deleted. Therefore, you should not select an existing SAE-created project for log collection.
[{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]
public UpdateNamespaceSlsConfigsRequest.Builder slsLogEnvTags(String slsLogEnvTags)
public UpdateNamespaceSlsConfigsRequest build()
Copyright © 2026. All rights reserved.