Class CfnImagePropsMixin.EcrConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnImagePropsMixin.EcrConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePropsMixin.EcrConfigurationProperty>
- Enclosing interface:
CfnImagePropsMixin.EcrConfigurationProperty
@Stability(Stable)
public static final class CfnImagePropsMixin.EcrConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePropsMixin.EcrConfigurationProperty>
A builder for
CfnImagePropsMixin.EcrConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerTags(List<String> containerTags) Sets the value ofCfnImagePropsMixin.EcrConfigurationProperty.getContainerTags()repositoryName(String repositoryName) Sets the value ofCfnImagePropsMixin.EcrConfigurationProperty.getRepositoryName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerTags
@Stability(Stable) public CfnImagePropsMixin.EcrConfigurationProperty.Builder containerTags(List<String> containerTags) Sets the value ofCfnImagePropsMixin.EcrConfigurationProperty.getContainerTags()- Parameters:
containerTags- Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.- Returns:
this
-
repositoryName
@Stability(Stable) public CfnImagePropsMixin.EcrConfigurationProperty.Builder repositoryName(String repositoryName) Sets the value ofCfnImagePropsMixin.EcrConfigurationProperty.getRepositoryName()- Parameters:
repositoryName- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account namedimage-builder-image-scanning-repositoryfor vulnerability scans of your output container images.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePropsMixin.EcrConfigurationProperty>- Returns:
- a new instance of
CfnImagePropsMixin.EcrConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-