Class CfnCluster.CertificateAuthorityProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks_v2.CfnCluster.CertificateAuthorityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.CertificateAuthorityProperty>
- Enclosing interface:
CfnCluster.CertificateAuthorityProperty
@Stability(Stable)
public static final class CfnCluster.CertificateAuthorityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.CertificateAuthorityProperty>
A builder for
CfnCluster.CertificateAuthorityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive(IResolvable active) Sets the value ofCfnCluster.CertificateAuthorityProperty.getActive()Sets the value ofCfnCluster.CertificateAuthorityProperty.getActive()build()Builds the configured instance.Sets the value ofCfnCluster.CertificateAuthorityProperty.getData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
active
@Stability(Stable) public CfnCluster.CertificateAuthorityProperty.Builder active(IResolvable active) Sets the value ofCfnCluster.CertificateAuthorityProperty.getActive()- Parameters:
active- Identifies the certificate authority currently signing certificates for the cluster.- Returns:
this
-
active
@Stability(Stable) public CfnCluster.CertificateAuthorityProperty.Builder active(CfnCluster.ActiveCertificateAuthorityProperty active) Sets the value ofCfnCluster.CertificateAuthorityProperty.getActive()- Parameters:
active- Identifies the certificate authority currently signing certificates for the cluster.- Returns:
this
-
data
Sets the value ofCfnCluster.CertificateAuthorityProperty.getData()- Parameters:
data- The base64-encoded certificate-authority trust bundle for the cluster (all trusted CAs).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.CertificateAuthorityProperty>- Returns:
- a new instance of
CfnCluster.CertificateAuthorityProperty - Throws:
NullPointerException- if any required attribute was not provided
-