Package org.cdk8s.plus24
Class CommonSecretProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.CommonSecretProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CommonSecretProps>
- Enclosing interface:
- CommonSecretProps
@Stability(Stable) public static final class CommonSecretProps.Builder extends Object implements software.amazon.jsii.Builder<CommonSecretProps>
A builder forCommonSecretProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonSecretProps
build()
Builds the configured instance.CommonSecretProps.Builder
immutable(Boolean immutable)
Sets the value ofCommonSecretProps.getImmutable()
CommonSecretProps.Builder
metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value ofResourceProps.getMetadata()
-
-
-
Method Detail
-
immutable
@Stability(Stable) public CommonSecretProps.Builder immutable(Boolean immutable)
Sets the value ofCommonSecretProps.getImmutable()
- Parameters:
immutable
- If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time.- Returns:
this
-
metadata
@Stability(Stable) public CommonSecretProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value ofResourceProps.getMetadata()
- Parameters:
metadata
- Metadata that all persisted resources must have, which includes all objects users must create.- Returns:
this
-
build
@Stability(Stable) public CommonSecretProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CommonSecretProps>
- Returns:
- a new instance of
CommonSecretProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-