Class CfnExperimentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnExperimentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentMixinProps>
- Enclosing interface:
CfnExperimentMixinProps
@Stability(Stable)
public static final class CfnExperimentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentMixinProps>
A builder for
CfnExperimentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnExperimentMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnExperimentMixinProps.getDisplayName()experimentName(String experimentName) Sets the value ofCfnExperimentMixinProps.getExperimentName()tags(List<? extends CfnExperimentPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnExperimentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnExperimentMixinProps.getDescription()- Parameters:
description- The description of the experiment.- Returns:
this
-
displayName
Sets the value ofCfnExperimentMixinProps.getDisplayName()- Parameters:
displayName- The name of the experiment as displayed. The name does not need to be unique.- Returns:
this
-
experimentName
Sets the value ofCfnExperimentMixinProps.getExperimentName()- Parameters:
experimentName- The name of the experiment. Must be unique in your AWS account and is not case-sensitive.- Returns:
this
-
tags
@Stability(Stable) public CfnExperimentMixinProps.Builder tags(List<? extends CfnExperimentPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnExperimentMixinProps.getTags()- Parameters:
tags- A list of tags to associate with the experiment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentMixinProps>- Returns:
- a new instance of
CfnExperimentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-