Class CfnPackageGroupPropsMixin.OriginConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codeartifact.CfnPackageGroupPropsMixin.OriginConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackageGroupPropsMixin.OriginConfigurationProperty>
- Enclosing interface:
CfnPackageGroupPropsMixin.OriginConfigurationProperty
@Stability(Stable)
public static final class CfnPackageGroupPropsMixin.OriginConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackageGroupPropsMixin.OriginConfigurationProperty>
A builder for
CfnPackageGroupPropsMixin.OriginConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.restrictions(CfnPackageGroupPropsMixin.RestrictionsProperty restrictions) Sets the value ofCfnPackageGroupPropsMixin.OriginConfigurationProperty.getRestrictions()restrictions(IResolvable restrictions) Sets the value ofCfnPackageGroupPropsMixin.OriginConfigurationProperty.getRestrictions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
restrictions
@Stability(Stable) public CfnPackageGroupPropsMixin.OriginConfigurationProperty.Builder restrictions(IResolvable restrictions) Sets the value ofCfnPackageGroupPropsMixin.OriginConfigurationProperty.getRestrictions()- Parameters:
restrictions- the value to be set.- Returns:
this
-
restrictions
@Stability(Stable) public CfnPackageGroupPropsMixin.OriginConfigurationProperty.Builder restrictions(CfnPackageGroupPropsMixin.RestrictionsProperty restrictions) Sets the value ofCfnPackageGroupPropsMixin.OriginConfigurationProperty.getRestrictions()- Parameters:
restrictions- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackageGroupPropsMixin.OriginConfigurationProperty>- Returns:
- a new instance of
CfnPackageGroupPropsMixin.OriginConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-