Class CfnModelPackageGroup.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelPackageGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackageGroup>
- Enclosing class:
CfnModelPackageGroup
@Stability(Stable)
public static final class CfnModelPackageGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackageGroup>
A fluent builder for
CfnModelPackageGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnModelPackageGroup.Builder
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 CfnModelPackageGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnModelPackageGroup.Builder
.
-
modelPackageGroupName
@Stability(Stable) public CfnModelPackageGroup.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:
-
modelPackageGroupDescription
@Stability(Stable) public CfnModelPackageGroup.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:
-
modelPackageGroupPolicy
@Stability(Stable) public CfnModelPackageGroup.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelPackageGroup>
- Returns:
- a newly built instance of
CfnModelPackageGroup
.
-