Class SigningProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.signer.SigningProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SigningProfileProps>
- Enclosing interface:
SigningProfileProps
@Stability(Stable)
public static final class SigningProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<SigningProfileProps>
A builder for
SigningProfileProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofSigningProfileProps.getPlatform()
signatureValidity
(Duration signatureValidity) Sets the value ofSigningProfileProps.getSignatureValidity()
signingProfileName
(String signingProfileName) Sets the value ofSigningProfileProps.getSigningProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
platform
Sets the value ofSigningProfileProps.getPlatform()
- Parameters:
platform
- The Signing Platform available for signing profile. This parameter is required.- Returns:
this
-
signatureValidity
Sets the value ofSigningProfileProps.getSignatureValidity()
- Parameters:
signatureValidity
- The validity period for signatures generated using this signing profile.- Returns:
this
-
signingProfileName
Sets the value ofSigningProfileProps.getSigningProfileName()
- Parameters:
signingProfileName
- Physical name of this Signing Profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SigningProfileProps>
- Returns:
- a new instance of
SigningProfileProps
- Throws:
NullPointerException
- if any required attribute was not provided
-