Class CfnSigningProfile.SignatureValidityPeriodProperty.Builder
java.lang.Object
software.amazon.awscdk.services.signer.CfnSigningProfile.SignatureValidityPeriodProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSigningProfile.SignatureValidityPeriodProperty>
- Enclosing interface:
CfnSigningProfile.SignatureValidityPeriodProperty
@Stability(Stable)
public static final class CfnSigningProfile.SignatureValidityPeriodProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSigningProfile.SignatureValidityPeriodProperty>
A builder for
CfnSigningProfile.SignatureValidityPeriodProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSigningProfile.SignatureValidityPeriodProperty.getType()
Sets the value ofCfnSigningProfile.SignatureValidityPeriodProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnSigningProfile.SignatureValidityPeriodProperty.Builder type(String type) Sets the value ofCfnSigningProfile.SignatureValidityPeriodProperty.getType()
- Parameters:
type
- The time unit for signature validity: DAYS | MONTHS | YEARS.- Returns:
this
-
value
@Stability(Stable) public CfnSigningProfile.SignatureValidityPeriodProperty.Builder value(Number value) Sets the value ofCfnSigningProfile.SignatureValidityPeriodProperty.getValue()
- Parameters:
value
- The numerical value of the time unit for signature validity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSigningProfile.SignatureValidityPeriodProperty>
- Returns:
- a new instance of
CfnSigningProfile.SignatureValidityPeriodProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-