Class CfnTemplatePropsMixin.CertificateValidityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcaconnectorad.CfnTemplatePropsMixin.CertificateValidityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.CertificateValidityProperty>
- Enclosing interface:
CfnTemplatePropsMixin.CertificateValidityProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.CertificateValidityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.CertificateValidityProperty>
A builder for
CfnTemplatePropsMixin.CertificateValidityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.renewalPeriod(CfnTemplatePropsMixin.ValidityPeriodProperty renewalPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getRenewalPeriod()renewalPeriod(IResolvable renewalPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getRenewalPeriod()validityPeriod(CfnTemplatePropsMixin.ValidityPeriodProperty validityPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getValidityPeriod()validityPeriod(IResolvable validityPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getValidityPeriod()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
renewalPeriod
@Stability(Stable) public CfnTemplatePropsMixin.CertificateValidityProperty.Builder renewalPeriod(IResolvable renewalPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getRenewalPeriod()- Parameters:
renewalPeriod- Renewal period is the period of time before certificate expiration when a new certificate will be requested.- Returns:
this
-
renewalPeriod
@Stability(Stable) public CfnTemplatePropsMixin.CertificateValidityProperty.Builder renewalPeriod(CfnTemplatePropsMixin.ValidityPeriodProperty renewalPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getRenewalPeriod()- Parameters:
renewalPeriod- Renewal period is the period of time before certificate expiration when a new certificate will be requested.- Returns:
this
-
validityPeriod
@Stability(Stable) public CfnTemplatePropsMixin.CertificateValidityProperty.Builder validityPeriod(IResolvable validityPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getValidityPeriod()- Parameters:
validityPeriod- Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.- Returns:
this
-
validityPeriod
@Stability(Stable) public CfnTemplatePropsMixin.CertificateValidityProperty.Builder validityPeriod(CfnTemplatePropsMixin.ValidityPeriodProperty validityPeriod) Sets the value ofCfnTemplatePropsMixin.CertificateValidityProperty.getValidityPeriod()- Parameters:
validityPeriod- Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.CertificateValidityProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.CertificateValidityProperty - Throws:
NullPointerException- if any required attribute was not provided
-