Class CfnCodeSigningConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnCodeSigningConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeSigningConfigProps>
- Enclosing interface:
- CfnCodeSigningConfigProps
@Stability(Stable)
public static final class CfnCodeSigningConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeSigningConfigProps>
A builder for
CfnCodeSigningConfigProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedPublishers(IResolvable allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()allowedPublishers(CfnCodeSigningConfig.AllowedPublishersProperty allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()build()Builds the configured instance.codeSigningPolicies(IResolvable codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()codeSigningPolicies(CfnCodeSigningConfig.CodeSigningPoliciesProperty codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()description(String description) Sets the value ofCfnCodeSigningConfigProps.getDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedPublishers
@Stability(Stable) public CfnCodeSigningConfigProps.Builder allowedPublishers(IResolvable allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()- Parameters:
allowedPublishers- List of allowed publishers. This parameter is required.- Returns:
this
-
allowedPublishers
@Stability(Stable) public CfnCodeSigningConfigProps.Builder allowedPublishers(CfnCodeSigningConfig.AllowedPublishersProperty allowedPublishers) Sets the value ofCfnCodeSigningConfigProps.getAllowedPublishers()- Parameters:
allowedPublishers- List of allowed publishers. This parameter is required.- Returns:
this
-
codeSigningPolicies
@Stability(Stable) public CfnCodeSigningConfigProps.Builder codeSigningPolicies(IResolvable codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()- Parameters:
codeSigningPolicies- The code signing policy controls the validation failure action for signature mismatch or expiry.- Returns:
this
-
codeSigningPolicies
@Stability(Stable) public CfnCodeSigningConfigProps.Builder codeSigningPolicies(CfnCodeSigningConfig.CodeSigningPoliciesProperty codeSigningPolicies) Sets the value ofCfnCodeSigningConfigProps.getCodeSigningPolicies()- Parameters:
codeSigningPolicies- The code signing policy controls the validation failure action for signature mismatch or expiry.- Returns:
this
-
description
Sets the value ofCfnCodeSigningConfigProps.getDescription()- Parameters:
description- Code signing configuration description.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCodeSigningConfigProps>- Returns:
- a new instance of
CfnCodeSigningConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-