| Modifier and Type | Method and Description |
|---|---|
Secret |
build() |
static Secret.Builder |
create(software.constructs.Construct scope,
String id) |
Secret.Builder |
metadata(org.cdk8s.ApiObjectMetadata metadata)
Metadata that all persisted resources must have, which includes all objects users must create.
|
Secret.Builder |
stringData(Map<String,String> stringData)
stringData allows specifying non-binary secret data in string form.
|
Secret.Builder |
type(String type)
Optional type associated with the secret.
|
@Stability(value=Stable) public static Secret.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Secret.Builder.@Stability(value=Stable) public Secret.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.this@Stability(value=Stable) public Secret.Builder stringData(Map<String,String> stringData)
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.
stringData - stringData allows specifying non-binary secret data in string form. This parameter is required.this@Stability(value=Stable) public Secret.Builder type(String type)
Used to facilitate programmatic handling of secret data by various controllers.
Default: undefined - Don't set a type.
type - Optional type associated with the secret. This parameter is required.thisCopyright © 2021. All rights reserved.