Class CfnDistributionConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionConfiguration>
- Enclosing class:
CfnDistributionConfiguration
@Stability(Stable)
public static final class CfnDistributionConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionConfiguration>
A fluent builder for
CfnDistributionConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of this distribution configuration.distributions
(List<? extends Object> distributions) The distributions of this distribution configuration formatted as an array of Distribution objects.distributions
(IResolvable distributions) The distributions of this distribution configuration formatted as an array of Distribution objects.The name of this distribution configuration.The tags of this distribution configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnDistributionConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDistributionConfiguration.Builder
.
-
distributions
@Stability(Stable) public CfnDistributionConfiguration.Builder distributions(IResolvable distributions) The distributions of this distribution configuration formatted as an array of Distribution objects.- Parameters:
distributions
- The distributions of this distribution configuration formatted as an array of Distribution objects. This parameter is required.- Returns:
this
- See Also:
-
distributions
@Stability(Stable) public CfnDistributionConfiguration.Builder distributions(List<? extends Object> distributions) The distributions of this distribution configuration formatted as an array of Distribution objects.- Parameters:
distributions
- The distributions of this distribution configuration formatted as an array of Distribution objects. This parameter is required.- Returns:
this
- See Also:
-
name
The name of this distribution configuration.- Parameters:
name
- The name of this distribution configuration. This parameter is required.- Returns:
this
- See Also:
-
description
The description of this distribution configuration.- Parameters:
description
- The description of this distribution configuration. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags of this distribution configuration.- Parameters:
tags
- The tags of this distribution configuration. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDistributionConfiguration>
- Returns:
- a newly built instance of
CfnDistributionConfiguration
.
-