public static final class CreateEngineNamespaceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateEngineNamespaceRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
CreateEngineNamespaceRequest |
build() |
CreateEngineNamespaceRequest.Builder |
clusterId(String clusterId)
The ID of the instance.
|
CreateEngineNamespaceRequest.Builder |
desc(String desc)
The description of the namespace.
|
CreateEngineNamespaceRequest.Builder |
id(String id)
The custom ID of the namespace.
|
CreateEngineNamespaceRequest.Builder |
instanceId(String instanceId)
The ID of the instance.
|
CreateEngineNamespaceRequest.Builder |
name(String name)
The display name of the namespace.
|
CreateEngineNamespaceRequest.Builder |
serviceCount(Integer serviceCount)
The maximum number of services that can run in the namespace.
|
public CreateEngineNamespaceRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public CreateEngineNamespaceRequest.Builder clusterId(String clusterId)
The ID of the instance.
example:mse-98s****
public CreateEngineNamespaceRequest.Builder desc(String desc)
The description of the namespace.
example:Development environment
public CreateEngineNamespaceRequest.Builder id(String id)
The custom ID of the namespace. If you do not specify this parameter, the automatically generated Universally Unique Identifier (UUID) is returned.
example:f4fa5b81-2f26-4900-833a-7516b315ebb2
public CreateEngineNamespaceRequest.Builder instanceId(String instanceId)
The ID of the instance.
example:mse-cn-st21ri2****
public CreateEngineNamespaceRequest.Builder name(String name)
The display name of the namespace.
This parameter is required.
example:dev
public CreateEngineNamespaceRequest.Builder serviceCount(Integer serviceCount)
The maximum number of services that can run in the namespace.
example:100
public CreateEngineNamespaceRequest build()
Copyright © 2026. All rights reserved.