Package com.oracle.bmc.dif.model
Class SecretData.Builder
- java.lang.Object
-
- com.oracle.bmc.dif.model.SecretData.Builder
-
- Enclosing class:
- SecretData
public static class SecretData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretDatabuild()SecretData.Buildercopy(SecretData model)SecretData.Builderkey(String key)Data key in the kubernetes secret.SecretData.BuildersecretId(String secretId)OCID of the Oci vault secret that provides the value for this key.
-
-
-
Method Detail
-
key
public SecretData.Builder key(String key)
Data key in the kubernetes secret.- Parameters:
key- the value to set- Returns:
- this builder
-
secretId
public SecretData.Builder secretId(String secretId)
OCID of the Oci vault secret that provides the value for this key.The latest active secret version is used at deploy time unless otherwise configured.
- Parameters:
secretId- the value to set- Returns:
- this builder
-
build
public SecretData build()
-
copy
public SecretData.Builder copy(SecretData model)
-
-