Class CfnPackageGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codeartifact.CfnPackageGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackageGroupMixinProps>
- Enclosing interface:
CfnPackageGroupMixinProps
@Stability(Stable)
public static final class CfnPackageGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackageGroupMixinProps>
A builder for
CfnPackageGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contactInfo(String contactInfo) Sets the value ofCfnPackageGroupMixinProps.getContactInfo()description(String description) Sets the value ofCfnPackageGroupMixinProps.getDescription()domainName(String domainName) Sets the value ofCfnPackageGroupMixinProps.getDomainName()domainOwner(String domainOwner) Sets the value ofCfnPackageGroupMixinProps.getDomainOwner()originConfiguration(CfnPackageGroupPropsMixin.OriginConfigurationProperty originConfiguration) Sets the value ofCfnPackageGroupMixinProps.getOriginConfiguration()originConfiguration(IResolvable originConfiguration) Sets the value ofCfnPackageGroupMixinProps.getOriginConfiguration()Sets the value ofCfnPackageGroupMixinProps.getPattern()Sets the value ofCfnPackageGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactInfo
Sets the value ofCfnPackageGroupMixinProps.getContactInfo()- Parameters:
contactInfo- The contact information of the package group.- Returns:
this
-
description
Sets the value ofCfnPackageGroupMixinProps.getDescription()- Parameters:
description- The description of the package group.- Returns:
this
-
domainName
Sets the value ofCfnPackageGroupMixinProps.getDomainName()- Parameters:
domainName- The domain that contains the package group.- Returns:
this
-
domainOwner
Sets the value ofCfnPackageGroupMixinProps.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 CfnPackageGroupMixinProps.Builder originConfiguration(IResolvable originConfiguration) Sets the value ofCfnPackageGroupMixinProps.getOriginConfiguration()- Parameters:
originConfiguration- Details about the package origin configuration of a package group.- Returns:
this
-
originConfiguration
@Stability(Stable) public CfnPackageGroupMixinProps.Builder originConfiguration(CfnPackageGroupPropsMixin.OriginConfigurationProperty originConfiguration) Sets the value ofCfnPackageGroupMixinProps.getOriginConfiguration()- Parameters:
originConfiguration- Details about the package origin configuration of a package group.- Returns:
this
-
pattern
Sets the value ofCfnPackageGroupMixinProps.getPattern()- Parameters:
pattern- The pattern of the package group. The pattern determines which packages are associated with the package group.- Returns:
this
-
tags
Sets the value ofCfnPackageGroupMixinProps.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<CfnPackageGroupMixinProps>- Returns:
- a new instance of
CfnPackageGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-