Class CfnPackageGroup.Builder
java.lang.Object
software.amazon.awscdk.services.codeartifact.CfnPackageGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackageGroup>
- Enclosing class:
CfnPackageGroup
@Stability(Stable)
public static final class CfnPackageGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackageGroup>
A fluent builder for
CfnPackageGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contactInfo
(String contactInfo) The contact information of the package group.static CfnPackageGroup.Builder
description
(String description) The description of the package group.domainName
(String domainName) The domain that contains the package group.domainOwner
(String domainOwner) The 12-digit account number of the AWS account that owns the domain.originConfiguration
(IResolvable originConfiguration) Details about the package origin configuration of a package group.originConfiguration
(CfnPackageGroup.OriginConfigurationProperty originConfiguration) Details about the package origin configuration of a package group.The pattern of the package group.A list of tags to be applied to the package group.
-
Method Details
-
create
@Stability(Stable) public static CfnPackageGroup.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
CfnPackageGroup.Builder
.
-
domainName
The domain that contains the package group.- Parameters:
domainName
- The domain that contains the package group. This parameter is required.- Returns:
this
- See Also:
-
pattern
The pattern of the package group.The pattern determines which packages are associated with the package group.
- Parameters:
pattern
- The pattern of the package group. This parameter is required.- Returns:
this
- See Also:
-
contactInfo
The contact information of the package group.- Parameters:
contactInfo
- The contact information of the package group. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the package group.- Parameters:
description
- The description of the package group. This parameter is required.- Returns:
this
- See Also:
-
domainOwner
The 12-digit account number of the AWS account that owns the domain.It does not include dashes or spaces.
- Parameters:
domainOwner
- The 12-digit account number of the AWS account that owns the domain. This parameter is required.- Returns:
this
- See Also:
-
originConfiguration
@Stability(Stable) public CfnPackageGroup.Builder originConfiguration(IResolvable originConfiguration) Details about the package origin configuration of a package group.- Parameters:
originConfiguration
- Details about the package origin configuration of a package group. This parameter is required.- Returns:
this
- See Also:
-
originConfiguration
@Stability(Stable) public CfnPackageGroup.Builder originConfiguration(CfnPackageGroup.OriginConfigurationProperty originConfiguration) Details about the package origin configuration of a package group.- Parameters:
originConfiguration
- Details about the package origin configuration of a package group. This parameter is required.- Returns:
this
- See Also:
-
tags
A list of tags to be applied to the package group.- Parameters:
tags
- A list of tags to be applied to the package group. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPackageGroup>
- Returns:
- a newly built instance of
CfnPackageGroup
.
-