Package org.cdk8s.plus20
Class TlsSecretProps.Builder
- java.lang.Object
-
- org.cdk8s.plus20.TlsSecretProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<TlsSecretProps>
- Enclosing interface:
- TlsSecretProps
@Stability(Stable) public static final class TlsSecretProps.Builder extends Object implements software.amazon.jsii.Builder<TlsSecretProps>
A builder forTlsSecretProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TlsSecretPropsbuild()Builds the configured instance.TlsSecretProps.Buildermetadata(org.cdk8s.ApiObjectMetadata metadata)Sets the value ofResourceProps.getMetadata()TlsSecretProps.BuildertlsCert(String tlsCert)Sets the value ofTlsSecretProps.getTlsCert()TlsSecretProps.BuildertlsKey(String tlsKey)Sets the value ofTlsSecretProps.getTlsKey()
-
-
-
Method Detail
-
tlsCert
@Stability(Stable) public TlsSecretProps.Builder tlsCert(String tlsCert)
Sets the value ofTlsSecretProps.getTlsCert()- Parameters:
tlsCert- The TLS cert. This parameter is required.- Returns:
this
-
tlsKey
@Stability(Stable) public TlsSecretProps.Builder tlsKey(String tlsKey)
Sets the value ofTlsSecretProps.getTlsKey()- Parameters:
tlsKey- The TLS key. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public TlsSecretProps.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 TlsSecretProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TlsSecretProps>- Returns:
- a new instance of
TlsSecretProps - Throws:
NullPointerException- if any required attribute was not provided
-
-