Package org.cdk8s.plus20
Class IngressV1Beta1Tls.Builder
- java.lang.Object
-
- org.cdk8s.plus20.IngressV1Beta1Tls.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IngressV1Beta1Tls>
- Enclosing interface:
- IngressV1Beta1Tls
@Stability(Stable) public static final class IngressV1Beta1Tls.Builder extends Object implements software.amazon.jsii.Builder<IngressV1Beta1Tls>
A builder forIngressV1Beta1Tls
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressV1Beta1Tlsbuild()Builds the configured instance.IngressV1Beta1Tls.Builderhosts(List<String> hosts)Sets the value ofIngressV1Beta1Tls.getHosts()IngressV1Beta1Tls.Buildersecret(ISecret secret)Sets the value ofIngressV1Beta1Tls.getSecret()
-
-
-
Method Detail
-
hosts
@Stability(Stable) public IngressV1Beta1Tls.Builder hosts(List<String> hosts)
Sets the value ofIngressV1Beta1Tls.getHosts()- Parameters:
hosts- Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the TLS Secret.- Returns:
this
-
secret
@Stability(Stable) public IngressV1Beta1Tls.Builder secret(ISecret secret)
Sets the value ofIngressV1Beta1Tls.getSecret()- Parameters:
secret- Secret is the secret that contains the certificate and key used to terminate SSL traffic on 443. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.- Returns:
this
-
build
@Stability(Stable) public IngressV1Beta1Tls build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IngressV1Beta1Tls>- Returns:
- a new instance of
IngressV1Beta1Tls - Throws:
NullPointerException- if any required attribute was not provided
-
-