Class CfnCertificatePropsMixin.ValidityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.acmpca.CfnCertificatePropsMixin.ValidityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificatePropsMixin.ValidityProperty>
- Enclosing interface:
CfnCertificatePropsMixin.ValidityProperty
@Stability(Stable)
public static final class CfnCertificatePropsMixin.ValidityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificatePropsMixin.ValidityProperty>
A builder for
CfnCertificatePropsMixin.ValidityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCertificatePropsMixin.ValidityProperty.getType()Sets the value ofCfnCertificatePropsMixin.ValidityProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnCertificatePropsMixin.ValidityProperty.getType()- Parameters:
type- Specifies whether theValueparameter represents days, months, or years.- Returns:
this
-
value
Sets the value ofCfnCertificatePropsMixin.ValidityProperty.getValue()- Parameters:
value- A long integer interpreted according to the value ofType, below.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificatePropsMixin.ValidityProperty>- Returns:
- a new instance of
CfnCertificatePropsMixin.ValidityProperty - Throws:
NullPointerException- if any required attribute was not provided
-