public static final class DescribeSecretRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeSecretRequest |
build() |
DescribeSecretRequest.Builder |
namespaceId(String namespaceId)
The ID of the namespace where the Secret resides.
|
DescribeSecretRequest.Builder |
secretId(Long secretId)
The ID of the Secret instance to be queried.
|
public DescribeSecretRequest.Builder namespaceId(String namespaceId)
The ID of the namespace where the Secret resides. If the namespace is the default namespace, you need to only enter the region ID, such as cn-beijing.
This parameter is required.
example:cn-beijing:test
public DescribeSecretRequest.Builder secretId(Long secretId)
The ID of the Secret instance to be queried. You can call the ListSecrets operation to view the IDs of Secrete instances.
This parameter is required.
example:16
public DescribeSecretRequest build()
Copyright © 2026. All rights reserved.