Class CfnPackage.Builder
java.lang.Object
software.amazon.awscdk.services.codeartifact.CfnPackage.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackage>
- Enclosing class:
CfnPackage
@Stability(Stable)
public static final class CfnPackage.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackage>
A fluent builder for
CfnPackage.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnPackage.BuilderdomainName(String domainName) The name of the domain that contains the repository that contains the package.The format of the package.The name of the package.The namespace of the package.repository(String repository) The name of the repository that contains the package.
-
Method Details
-
create
@Stability(Stable) public static CfnPackage.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
CfnPackage.Builder.
-
domainName
The name of the domain that contains the repository that contains the package.- Parameters:
domainName- The name of the domain that contains the repository that contains the package. This parameter is required.- Returns:
this- See Also:
-
format
The format of the package.- Parameters:
format- The format of the package. This parameter is required.- Returns:
this- See Also:
-
name
The name of the package.- Parameters:
name- The name of the package. This parameter is required.- Returns:
this- See Also:
-
repository
The name of the repository that contains the package.- Parameters:
repository- The name of the repository that contains the package. This parameter is required.- Returns:
this- See Also:
-
namespace
The namespace of the package.- Parameters:
namespace- The namespace of the package. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackage>- Returns:
- a newly built instance of
CfnPackage.
-