Class CfnSigningConfigurationPropsMixin.RuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecr.CfnSigningConfigurationPropsMixin.RuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSigningConfigurationPropsMixin.RuleProperty>
- Enclosing interface:
CfnSigningConfigurationPropsMixin.RuleProperty
@Stability(Stable)
public static final class CfnSigningConfigurationPropsMixin.RuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSigningConfigurationPropsMixin.RuleProperty>
A builder for
CfnSigningConfigurationPropsMixin.RuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.repositoryFilters(List<? extends Object> repositoryFilters) Sets the value ofCfnSigningConfigurationPropsMixin.RuleProperty.getRepositoryFilters()repositoryFilters(IResolvable repositoryFilters) Sets the value ofCfnSigningConfigurationPropsMixin.RuleProperty.getRepositoryFilters()signingProfileArn(String signingProfileArn) Sets the value ofCfnSigningConfigurationPropsMixin.RuleProperty.getSigningProfileArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryFilters
@Stability(Stable) public CfnSigningConfigurationPropsMixin.RuleProperty.Builder repositoryFilters(IResolvable repositoryFilters) Sets the value ofCfnSigningConfigurationPropsMixin.RuleProperty.getRepositoryFilters()- Parameters:
repositoryFilters- A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.- Returns:
this
-
repositoryFilters
@Stability(Stable) public CfnSigningConfigurationPropsMixin.RuleProperty.Builder repositoryFilters(List<? extends Object> repositoryFilters) Sets the value ofCfnSigningConfigurationPropsMixin.RuleProperty.getRepositoryFilters()- Parameters:
repositoryFilters- A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.- Returns:
this
-
signingProfileArn
@Stability(Stable) public CfnSigningConfigurationPropsMixin.RuleProperty.Builder signingProfileArn(String signingProfileArn) Sets the value ofCfnSigningConfigurationPropsMixin.RuleProperty.getSigningProfileArn()- Parameters:
signingProfileArn- The ARN of the AWS Signer signing profile to use for signing images that match this rule. For more information about signing profiles, see Signing profiles in the AWS Signer Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSigningConfigurationPropsMixin.RuleProperty>- Returns:
- a new instance of
CfnSigningConfigurationPropsMixin.RuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-