public static final class UpdateNamespaceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateNamespaceRequest |
build() |
UpdateNamespaceRequest.Builder |
enableMicroRegistration(Boolean enableMicroRegistration)
Indicates whether to enable SAE built-in registry:
true
false
If you set this parameter to true, a shared registry is created for the namespace.
|
UpdateNamespaceRequest.Builder |
namespaceDescription(String namespaceDescription)
The description of the namespace.
|
UpdateNamespaceRequest.Builder |
namespaceId(String namespaceId)
The long ID of the namespace.
|
UpdateNamespaceRequest.Builder |
namespaceName(String namespaceName)
The name of the namespace.
|
UpdateNamespaceRequest.Builder |
nameSpaceShortId(String nameSpaceShortId)
The short ID of the namespace.
|
public UpdateNamespaceRequest.Builder enableMicroRegistration(Boolean enableMicroRegistration)
Indicates whether to enable SAE built-in registry:
If you set this parameter to true, a shared registry is created for the namespace. The registry cannot be disabled after it is created.
example:true
public UpdateNamespaceRequest.Builder nameSpaceShortId(String nameSpaceShortId)
The short ID of the namespace. You do not need to specify a region ID. We recommend that you configure this parameter. The value of this parameter can be up to 20 characters in length and can contain only lowercase letters and digits.
example:test
public UpdateNamespaceRequest.Builder namespaceDescription(String namespaceDescription)
The description of the namespace. The description cannot exceed 100 characters in length.
example:desc
public UpdateNamespaceRequest.Builder namespaceId(String namespaceId)
The long ID of the namespace. If you configure this parameter, the long ID take effects and the value of the NameSpaceShortId parameter is ignored. To ensure compatibility, we recommend that you specify a short namespace ID. A long namespace ID follows the <RegionId>:<NamespaceId> format. The NamespaceId variable can contain only lowercase letters and digits. Example: cn-beijing:test. The value of the Namespaceid variable cannot exceed 32 characters in length. For more information about RegionId, you can call the DescribeRegions operation to obtain the IDs of regions supported by SAE.
cn-beijing:test
public UpdateNamespaceRequest.Builder namespaceName(String namespaceName)
The name of the namespace. The name cannot exceed 64 characters in length.
This parameter is required.
example:name
public UpdateNamespaceRequest build()
Copyright © 2026. All rights reserved.