public static final class UpdateSecretRequest.SecretData.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateSecretRequest.SecretData |
build() |
UpdateSecretRequest.SecretData.Builder |
secretData(String secretData)
The information about the key-value pairs of the Secret.
|
public UpdateSecretRequest.SecretData.Builder secretData(String secretData)
The information about the key-value pairs of the Secret. This parameter is required. The following formats are supported:
{"Data":"{"k1":"v1", "k2":"v2"}"}
k specifies a key and v specifies a value. For more information, see Manage a Kubernetes Secret.
This parameter is required.
example:{".dockerconfigjson":"eyJhdXRocyI6eyJyZWdpc3RyeS12cGMuY24tYmVpamluZy5hbGl5dW5jcy5jb20iOnsidXNlcm5hbWUiOiJ1c2VybmFtZSIsInBhc3N3b3JkIjoicGFzc3dvcmQiLCJhdXRoIjoiZFhObGNtNWhiV1U2Y0dGemMzZHZjbVE9In0sInJlZ2lzdHJ5LmNuLWJlaWppbmcuYWxpeXVuY3MuY29tIjp7InVzZXJuYW1lIjoidXNlcm5hbWUiLCJwYXNzd29yZCI6InBhc3N3b3JkIiwiYXV0aCI6ImRYTmxjbTVoYldVNmNHRnpjM2R2Y21RPSJ9fX0="}
public UpdateSecretRequest.SecretData build()
Copyright © 2026. All rights reserved.