@Stability(value=Stable) public static final class SecretProps.Builder extends Object implements software.amazon.jsii.Builder<SecretProps>
SecretProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SecretProps |
build()
Builds the configured instance.
|
SecretProps.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value of
ResourceProps.getMetadata() |
SecretProps.Builder |
stringData(Map<String,String> stringData)
Sets the value of
SecretProps.getStringData() |
SecretProps.Builder |
type(String type)
Sets the value of
SecretProps.getType() |
@Stability(value=Stable) public SecretProps.Builder stringData(Map<String,String> stringData)
SecretProps.getStringData()stringData - stringData allows specifying non-binary secret data in string form.
It is
provided as a write-only convenience method. All keys and values are merged
into the data field on write, overwriting any existing values. It is never
output when reading from the API.this@Stability(value=Stable) public SecretProps.Builder type(String type)
SecretProps.getType()type - Optional type associated with the secret.
Used to facilitate programmatic
handling of secret data by various controllers.this@Stability(value=Stable) public SecretProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
ResourceProps.getMetadata()metadata - Metadata that all persisted resources must have, which includes all objects users must create.this@Stability(value=Stable) public SecretProps build()
build in interface software.amazon.jsii.Builder<SecretProps>SecretPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.