Class CfnModelPackageGroupPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPackageGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackageGroupPropsMixin>
- Enclosing class:
CfnModelPackageGroupPropsMixin
@Stability(Stable)
public static final class CfnModelPackageGroupPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackageGroupPropsMixin>
A fluent builder for
CfnModelPackageGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) modelPackageGroupDescription(String modelPackageGroupDescription) The description for the model group.modelPackageGroupName(String modelPackageGroupName) The name of the model group.modelPackageGroupPolicy(Object modelPackageGroupPolicy) A resouce policy to control access to a model group.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnModelPackageGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnModelPackageGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnModelPackageGroupPropsMixin.Builder.
-
modelPackageGroupDescription
@Stability(Stable) public CfnModelPackageGroupPropsMixin.Builder modelPackageGroupDescription(String modelPackageGroupDescription) The description for the model group.- Parameters:
modelPackageGroupDescription- The description for the model group. This parameter is required.- Returns:
this- See Also:
-
modelPackageGroupName
@Stability(Stable) public CfnModelPackageGroupPropsMixin.Builder modelPackageGroupName(String modelPackageGroupName) The name of the model group.- Parameters:
modelPackageGroupName- The name of the model group. This parameter is required.- Returns:
this- See Also:
-
modelPackageGroupPolicy
@Stability(Stable) public CfnModelPackageGroupPropsMixin.Builder modelPackageGroupPolicy(Object modelPackageGroupPolicy) A resouce policy to control access to a model group.For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .
- Parameters:
modelPackageGroupPolicy- A resouce policy to control access to a model group. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPackageGroupPropsMixin>- Returns:
- a newly built instance of
CfnModelPackageGroupPropsMixin.
-