Class CfnPackageGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.codeartifact.CfnPackageGroupProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnPackageGroupProps>
- Enclosing interface:
- CfnPackageGroupProps
@Stability(Stable)
public static final class CfnPackageGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackageGroupProps>
A builder for 
CfnPackageGroupProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.contactInfo(String contactInfo) Sets the value ofCfnPackageGroupProps.getContactInfo()description(String description) Sets the value ofCfnPackageGroupProps.getDescription()domainName(String domainName) Sets the value ofCfnPackageGroupProps.getDomainName()domainOwner(String domainOwner) Sets the value ofCfnPackageGroupProps.getDomainOwner()originConfiguration(IResolvable originConfiguration) Sets the value ofCfnPackageGroupProps.getOriginConfiguration()originConfiguration(CfnPackageGroup.OriginConfigurationProperty originConfiguration) Sets the value ofCfnPackageGroupProps.getOriginConfiguration()Sets the value ofCfnPackageGroupProps.getPattern()Sets the value ofCfnPackageGroupProps.getTags()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
domainNameSets the value ofCfnPackageGroupProps.getDomainName()- Parameters:
- domainName- The domain that contains the package group. This parameter is required.
- Returns:
- this
 
- 
patternSets the value ofCfnPackageGroupProps.getPattern()- Parameters:
- pattern- The pattern of the package group. This parameter is required. The pattern determines which packages are associated with the package group.
- Returns:
- this
 
- 
contactInfoSets the value ofCfnPackageGroupProps.getContactInfo()- Parameters:
- contactInfo- The contact information of the package group.
- Returns:
- this
 
- 
descriptionSets the value ofCfnPackageGroupProps.getDescription()- Parameters:
- description- The description of the package group.
- Returns:
- this
 
- 
domainOwnerSets the value ofCfnPackageGroupProps.getDomainOwner()- Parameters:
- domainOwner- The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
- Returns:
- this
 
- 
originConfiguration@Stability(Stable) public CfnPackageGroupProps.Builder originConfiguration(IResolvable originConfiguration) Sets the value ofCfnPackageGroupProps.getOriginConfiguration()- Parameters:
- originConfiguration- Details about the package origin configuration of a package group.
- Returns:
- this
 
- 
originConfiguration@Stability(Stable) public CfnPackageGroupProps.Builder originConfiguration(CfnPackageGroup.OriginConfigurationProperty originConfiguration) Sets the value ofCfnPackageGroupProps.getOriginConfiguration()- Parameters:
- originConfiguration- Details about the package origin configuration of a package group.
- Returns:
- this
 
- 
tagsSets the value ofCfnPackageGroupProps.getTags()- Parameters:
- tags- An array of key-value pairs to apply to the package group.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnPackageGroupProps>
- Returns:
- a new instance of CfnPackageGroupProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-