Class CfnModelPackageGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelPackageGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackageGroupProps>
- Enclosing interface:
CfnModelPackageGroupProps
@Stability(Stable)
public static final class CfnModelPackageGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackageGroupProps>
A builder for
CfnModelPackageGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.modelPackageGroupDescription
(String modelPackageGroupDescription) Sets the value ofCfnModelPackageGroupProps.getModelPackageGroupDescription()
modelPackageGroupName
(String modelPackageGroupName) Sets the value ofCfnModelPackageGroupProps.getModelPackageGroupName()
modelPackageGroupPolicy
(Object modelPackageGroupPolicy) Sets the value ofCfnModelPackageGroupProps.getModelPackageGroupPolicy()
Sets the value ofCfnModelPackageGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelPackageGroupName
@Stability(Stable) public CfnModelPackageGroupProps.Builder modelPackageGroupName(String modelPackageGroupName) Sets the value ofCfnModelPackageGroupProps.getModelPackageGroupName()
- Parameters:
modelPackageGroupName
- The name of the model group. This parameter is required.- Returns:
this
-
modelPackageGroupDescription
@Stability(Stable) public CfnModelPackageGroupProps.Builder modelPackageGroupDescription(String modelPackageGroupDescription) Sets the value ofCfnModelPackageGroupProps.getModelPackageGroupDescription()
- Parameters:
modelPackageGroupDescription
- The description for the model group.- Returns:
this
-
modelPackageGroupPolicy
@Stability(Stable) public CfnModelPackageGroupProps.Builder modelPackageGroupPolicy(Object modelPackageGroupPolicy) Sets the value ofCfnModelPackageGroupProps.getModelPackageGroupPolicy()
- Parameters:
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. .- Returns:
this
-
tags
Sets the value ofCfnModelPackageGroupProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelPackageGroupProps>
- Returns:
- a new instance of
CfnModelPackageGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-