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