Class CfnSigningProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.signer.CfnSigningProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSigningProfileProps>
- Enclosing interface:
- CfnSigningProfileProps
@Stability(Stable)
public static final class CfnSigningProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSigningProfileProps>
A builder for
CfnSigningProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.platformId(String platformId) Sets the value ofCfnSigningProfileProps.getPlatformId()signatureValidityPeriod(IResolvable signatureValidityPeriod) Sets the value ofCfnSigningProfileProps.getSignatureValidityPeriod()signatureValidityPeriod(CfnSigningProfile.SignatureValidityPeriodProperty signatureValidityPeriod) Sets the value ofCfnSigningProfileProps.getSignatureValidityPeriod()Sets the value ofCfnSigningProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
platformId
Sets the value ofCfnSigningProfileProps.getPlatformId()- Parameters:
platformId- The ID of a platform that is available for use by a signing profile. This parameter is required.- Returns:
this
-
signatureValidityPeriod
@Stability(Stable) public CfnSigningProfileProps.Builder signatureValidityPeriod(CfnSigningProfile.SignatureValidityPeriodProperty signatureValidityPeriod) Sets the value ofCfnSigningProfileProps.getSignatureValidityPeriod()- Parameters:
signatureValidityPeriod- The validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.- Returns:
this
-
signatureValidityPeriod
@Stability(Stable) public CfnSigningProfileProps.Builder signatureValidityPeriod(IResolvable signatureValidityPeriod) Sets the value ofCfnSigningProfileProps.getSignatureValidityPeriod()- Parameters:
signatureValidityPeriod- The validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.- Returns:
this
-
tags
Sets the value ofCfnSigningProfileProps.getTags()- Parameters:
tags- A list of tags associated with the signing profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSigningProfileProps>- Returns:
- a new instance of
CfnSigningProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-