Class CfnCertificateAuthorityPropsMixin.ValidityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnCertificateAuthorityPropsMixin.ValidityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthorityPropsMixin.ValidityProperty>
- Enclosing interface:
CfnCertificateAuthorityPropsMixin.ValidityProperty
@Stability(Stable)
public static final class CfnCertificateAuthorityPropsMixin.ValidityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateAuthorityPropsMixin.ValidityProperty>
A builder for
CfnCertificateAuthorityPropsMixin.ValidityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCertificateAuthorityPropsMixin.ValidityProperty.getNotAfter()Sets the value ofCfnCertificateAuthorityPropsMixin.ValidityProperty.getNotBefore()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notAfter
@Stability(Stable) public CfnCertificateAuthorityPropsMixin.ValidityProperty.Builder notAfter(String notAfter) Sets the value ofCfnCertificateAuthorityPropsMixin.ValidityProperty.getNotAfter()- Parameters:
notAfter- The end of the validity period for the certificate authority.- Returns:
this
-
notBefore
@Stability(Stable) public CfnCertificateAuthorityPropsMixin.ValidityProperty.Builder notBefore(String notBefore) Sets the value ofCfnCertificateAuthorityPropsMixin.ValidityProperty.getNotBefore()- Parameters:
notBefore- The start of the validity period for the certificate authority.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthorityPropsMixin.ValidityProperty>- Returns:
- a new instance of
CfnCertificateAuthorityPropsMixin.ValidityProperty - Throws:
NullPointerException- if any required attribute was not provided
-