Class CfnPackageMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codeartifact.CfnPackageMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackageMixinProps>
- Enclosing interface:
CfnPackageMixinProps
@Stability(Stable)
public static final class CfnPackageMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackageMixinProps>
A builder for
CfnPackageMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainName(String domainName) Sets the value ofCfnPackageMixinProps.getDomainName()Sets the value ofCfnPackageMixinProps.getFormat()Sets the value ofCfnPackageMixinProps.getName()Sets the value ofCfnPackageMixinProps.getNamespace()repository(String repository) Sets the value ofCfnPackageMixinProps.getRepository()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnPackageMixinProps.getDomainName()- Parameters:
domainName- The name of the domain that contains the repository that contains the package.- Returns:
this
-
format
Sets the value ofCfnPackageMixinProps.getFormat()- Parameters:
format- The format of the package.- Returns:
this
-
name
Sets the value ofCfnPackageMixinProps.getName()- Parameters:
name- The name of the package.- Returns:
this
-
namespace
Sets the value ofCfnPackageMixinProps.getNamespace()- Parameters:
namespace- The namespace of the package.- Returns:
this
-
repository
Sets the value ofCfnPackageMixinProps.getRepository()- Parameters:
repository- The name of the repository that contains the package.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackageMixinProps>- Returns:
- a new instance of
CfnPackageMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-