Class CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionConfiguration.ContainerDistributionConfigurationProperty>
- Enclosing interface:
CfnDistributionConfiguration.ContainerDistributionConfigurationProperty
@Stability(Stable)
public static final class CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionConfiguration.ContainerDistributionConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.containerTags
(List<String> containerTags) description
(String description) targetRepository
(IResolvable targetRepository)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerTags
@Stability(Stable) public CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder containerTags(List<String> containerTags) Sets the value ofCfnDistributionConfiguration.ContainerDistributionConfigurationProperty.getContainerTags()
- Parameters:
containerTags
- Tags that are attached to the container distribution configuration.- Returns:
this
-
description
@Stability(Stable) public CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder description(String description) Sets the value ofCfnDistributionConfiguration.ContainerDistributionConfigurationProperty.getDescription()
- Parameters:
description
- The description of the container distribution configuration.- Returns:
this
-
targetRepository
@Stability(Stable) public CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder targetRepository(IResolvable targetRepository) Sets the value ofCfnDistributionConfiguration.ContainerDistributionConfigurationProperty.getTargetRepository()
- Parameters:
targetRepository
- The destination repository for the container distribution configuration.- Returns:
this
-
targetRepository
@Stability(Stable) public CfnDistributionConfiguration.ContainerDistributionConfigurationProperty.Builder targetRepository(CfnDistributionConfiguration.TargetContainerRepositoryProperty targetRepository) Sets the value ofCfnDistributionConfiguration.ContainerDistributionConfigurationProperty.getTargetRepository()
- Parameters:
targetRepository
- The destination repository for the container distribution configuration.- Returns:
this
-
build
@Stability(Stable) public CfnDistributionConfiguration.ContainerDistributionConfigurationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDistributionConfiguration.ContainerDistributionConfigurationProperty>
- Returns:
- a new instance of
CfnDistributionConfiguration.ContainerDistributionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-