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 Summary
Constructors -
Method Summary
Modifier 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
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnPackageGroupProps.getDomainName()- Parameters:
domainName- The domain that contains the package group. This parameter is required.- Returns:
this
-
pattern
Sets 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
-
contactInfo
Sets the value ofCfnPackageGroupProps.getContactInfo()- Parameters:
contactInfo- The contact information of the package group.- Returns:
this
-
description
Sets the value ofCfnPackageGroupProps.getDescription()- Parameters:
description- The description of the package group.- Returns:
this
-
domainOwner
Sets 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
-
tags
Sets the value ofCfnPackageGroupProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the package group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackageGroupProps>- Returns:
- a new instance of
CfnPackageGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-