Class CfnSigningProfileMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.signer.CfnSigningProfileMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSigningProfileMixinProps>
- Enclosing interface:
CfnSigningProfileMixinProps
@Stability(Stable)
public static final class CfnSigningProfileMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSigningProfileMixinProps>
A builder for
CfnSigningProfileMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.platformId(String platformId) Sets the value ofCfnSigningProfileMixinProps.getPlatformId()profileName(String profileName) Sets the value ofCfnSigningProfileMixinProps.getProfileName()signatureValidityPeriod(CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty signatureValidityPeriod) Sets the value ofCfnSigningProfileMixinProps.getSignatureValidityPeriod()signatureValidityPeriod(IResolvable signatureValidityPeriod) Sets the value ofCfnSigningProfileMixinProps.getSignatureValidityPeriod()Sets the value ofCfnSigningProfileMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
platformId
Sets the value ofCfnSigningProfileMixinProps.getPlatformId()- Parameters:
platformId- The ID of a platform that is available for use by a signing profile.- Returns:
this
-
profileName
Sets the value ofCfnSigningProfileMixinProps.getProfileName()- Parameters:
profileName- The name of the signing profile.- Returns:
this
-
signatureValidityPeriod
@Stability(Stable) public CfnSigningProfileMixinProps.Builder signatureValidityPeriod(IResolvable signatureValidityPeriod) Sets the value ofCfnSigningProfileMixinProps.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 CfnSigningProfileMixinProps.Builder signatureValidityPeriod(CfnSigningProfilePropsMixin.SignatureValidityPeriodProperty signatureValidityPeriod) Sets the value ofCfnSigningProfileMixinProps.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 ofCfnSigningProfileMixinProps.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<CfnSigningProfileMixinProps>- Returns:
- a new instance of
CfnSigningProfileMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-