Class CfnModelPackageGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPackageGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackageGroupMixinProps>
- Enclosing interface:
CfnModelPackageGroupMixinProps
@Stability(Stable)
public static final class CfnModelPackageGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackageGroupMixinProps>
A builder for
CfnModelPackageGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.modelPackageGroupDescription(String modelPackageGroupDescription) Sets the value ofCfnModelPackageGroupMixinProps.getModelPackageGroupDescription()modelPackageGroupName(String modelPackageGroupName) Sets the value ofCfnModelPackageGroupMixinProps.getModelPackageGroupName()modelPackageGroupPolicy(Object modelPackageGroupPolicy) Sets the value ofCfnModelPackageGroupMixinProps.getModelPackageGroupPolicy()Sets the value ofCfnModelPackageGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelPackageGroupDescription
@Stability(Stable) public CfnModelPackageGroupMixinProps.Builder modelPackageGroupDescription(String modelPackageGroupDescription) Sets the value ofCfnModelPackageGroupMixinProps.getModelPackageGroupDescription()- Parameters:
modelPackageGroupDescription- The description for the model group.- Returns:
this
-
modelPackageGroupName
@Stability(Stable) public CfnModelPackageGroupMixinProps.Builder modelPackageGroupName(String modelPackageGroupName) Sets the value ofCfnModelPackageGroupMixinProps.getModelPackageGroupName()- Parameters:
modelPackageGroupName- The name of the model group.- Returns:
this
-
modelPackageGroupPolicy
@Stability(Stable) public CfnModelPackageGroupMixinProps.Builder modelPackageGroupPolicy(Object modelPackageGroupPolicy) Sets the value ofCfnModelPackageGroupMixinProps.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 ofCfnModelPackageGroupMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPackageGroupMixinProps>- Returns:
- a new instance of
CfnModelPackageGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-